You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

How to embed double quotes in job or order parameters?

Question:

How can I embed double quotes in job or order parameters?

Answer:

Double quotes or single quotes are required to enclose xml attributes, therefore you could use single quotes within a double quoted attribute value or vice versa. However, if you have to use both double quotes and single quotes in an attribute value then you should switch to the xml entity names " and ' that would be substituted accordingly:

  • <process file"... cmd.exe" param="/c echo 'hello world' "/>
  • <process file"... cmd.exe" param='/c echo "hello world" '/>
  • <process file"... cmd.exe" param="/c echo &quot;hello&quot; &apos;world&apos; "/>
  • No labels