[x3d-public] Use of Quoted Strings in XML
Leonard.Daly at realism.com
Wed May 10 09:33:53 PDT 2017
Using the example 2 from 19776-1
<Text string='"He said, \"Immel did it!\""' />
After the XML parser finishes with this node, the value of the attribute
'string' is sent to the X3D parser for handling. That string (XML value
of the attribute 'string') is:
"He said, \"Immel did it!\""
In this it is necessary for using a backslash to identify "special" use
of a double-quote. The above string is not legal SFString or MFString as
there is no space between the double-quoted element (for MFString) or
there are incorrect number of double-quotes characters.
3D Systems & Cloud Consultant
LA ACM SIGGRAPH Chair
President, Daly Realism - /Creating the Future/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the x3d-public