We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › proXML - how to set CDATA flag
Page Index Toggle Pages: 1
proXML - how to set CDATA flag? (Read 644 times)
proXML - how to set CDATA flag?
Feb 26th, 2007, 5:23pm
 
I was trying to generate KML files and wanted to generate HTML code as a <description> tag. However the CDATA text that I used in

new XMLElement ("<![CDATA[some HTML code]]>",true);

gets replaced ( < becomes lt; > becomes gt;)

checking the source of XMLElement  I found that there is a flag called cdata=false; (as default value) which should allow to pass umodified text to an element.

Is there any way to set this flag?
kind regards...
reverend
Page Index Toggle Pages: 1