On Aug 16, 2012, at 12:55 AM, Jens Alfke wrote:
>
> On Aug 15, 2012, at 7:47 PM, Christopher Henrich
> wrote:
>
>> The specification of the XML form for X3D requires that an MFString be
>> enclosed in single quotes, and the enclosed strings must be enclosed in
>> double quotes. Example: ' "
XML attributes are properly formed when they are double-quoted, not single
quoted. This is why the default for NSXML is double-quoted. It is likely that
what you need to do is encode the x3d MFString before using it as the attribute
body, perhaps as simply as slash escaping the quotes: attr="\
On Aug 15, 2012, at 7:47 PM, Christopher Henrich wrote:
> The specification of the XML form for X3D requires that an MFString be
> enclosed in single quotes, and the enclosed strings must be enclosed in
> double quotes. Example: ' "alpha" "bravo" '.
Huh? Single vs double quotes for delimiting
I am working on an app which will, among other things, write out an X3D file,
in XML format. (Background: X3D is a language for describing three-dimensional
scenes*; one way to put an X3D scene in a file is to use XML.) Some of the X3D
"fields," which map to "attributes" of XML nodes, are of the