Posted By:
joey_corleon
Posted On:
Saturday, January 18, 2003 10:33 AM
Hi, I am just starting with XML, so sorry if my question sounds stupid: I am doing some sort of object-mapping in JAVA. I was thinking that storing the definition of my objects to be mapped within an XML file would be ideal. I use Xerces DOM. My problem is that extracting the information from the XML file I have created, I was expeting to find ONLY nodes of type "ELEMENT_NODE" and "ATTRIBUTE_NODE" - I however get also some "TEXT_NODE" :o( Can anyone explain to me what "TEXT_NODE" are and why I got them within my document??? Many thanks!
More>>
Hi,
I am just starting with XML, so sorry if my question sounds stupid:
I am doing some sort of object-mapping in JAVA.
I was thinking that storing the definition of my objects to be mapped within an XML file would be ideal.
I use Xerces DOM.
My problem is that extracting the information from the XML file I have created, I was expeting to find ONLY nodes of type "ELEMENT_NODE" and "ATTRIBUTE_NODE" - I however get also some "TEXT_NODE" :o(
Can anyone explain to me what "TEXT_NODE" are and why I got them within my document???
Many thanks!
<<Less