I understand that this is not elegant or desirable, but is it allowed (in well-formed XML) the attribute value in the XML element to span multiple lines?
eg.
<some-xml-element value="this value goes over.... multiple lines!" />
Yes, I understand that itβs better to write this. I personally would write this as:
<some-xml-element> <value>this value goes over... multiple lines!</value> </some-xml-element>
or
<some-xml-element value="this value goes over.... " />
But we have our own XML parser, and I would like to know if the first example is allowed in well-formed XML.
xml xml-parsing
CodeAndCats Jan 16 '09 at 5:57 2009-01-16 05:57
source share