OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how creating a DOM with help of XPATH????



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