quote:Originally posted by backfisch
i've got the error... the cdata tag is on the wrong position in the xml file
for example:
RIGHT!
<![CDATA[<Username></Username>>]]
WRONG!
<Username><![CDATA[>]]</Username>
can you improve this error
THX
no, my way is right.
putting the tags inside <![CDATA[ ]]> is for including tags as content as an alternative to converting them to < etc. Theyre not parsed as markup at all inside CDATA.
quote:Originally posted by XML Recommendation Document
An example of a CDATA section, in which "<greeting>" and "</greeting>" are recognized as character data, not markup: