[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how creating a DOM with help of XPATH????
- From: mario.heiss@gerling.de
- To: xml-dev@lists.xml.org
- Date: Fri, 20 Apr 2001 10:32:48 +0200
Hello together,
I have the following problem:
I want to create a DOM Object with means of XPATH e.g.
XPATH: GCIG/CIR/SELLER/text()
XPATH: GCIG/CIR/BUYER/text()
from a second application I get back a value as String("Heiss")
String("Schulz")
the result should look like:
<GCIG>
<CIR>
<SELLER>Heiss</SELLER>
<BUYER>Schulz</BUYER>
</CIR>
</GCIG>
now I have to serialize the structure and i would have a pretty looking XML
String,
has anyone a class or idea how to solve this problem? because on apache.org
there is an example class
which can take data out of DOM with means of XPATH and I want to do the
reverse way
Thanks
Mario
Mario.Heiss@Gerling.de