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: create Text Element
Page Index Toggle Pages: 1
proXML: create Text Element? (Read 517 times)
proXML: create Text Element?
Mar 18th, 2008, 9:32pm
 
Hey,

Is there a way to create an XMLElement that is a Text element? For example, if I have this tag:
<start></start>

and I want to add a text element as a child so that it becomes:
<start>95</start>

how do I construct a text element? The XMLElement constructor seems to just work for tag elements. Doing addChild("95") doesn't work, as it won't take a String.

Re: proXML: create Text Element?
Reply #1 - Mar 24th, 2008, 6:33pm
 
same question here -- an example or 2 using text elements would be much appreciated...
thanks, -dch
Re: proXML: create Text Element?
Reply #2 - Mar 26th, 2008, 2:01am
 
I'm also in need of an answer on this.
~ce
Page Index Toggle Pages: 1