You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Jouko Johansson <jo...@infosto.fi> on 2001/08/27 15:27:44 UTC

Newbie question: how to create a node?

Hi

I'm planning to create dynamically XML from the JSP-page, so I need
information about how to create the Node, with specific values.

I'd like to have following kind of nodes created:
<foo>bar</foo>

The 'bar'-section is treated as a text node, how do i create it?

'foo'-section is a simple node with the name of 'foo', but how do I 
set the node name?

The another solution is to create the xml file first, but this should be 
avoided 'cos of I/O delays.

Thank you in advance...

Yours 

Jouko Johansson

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org