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]

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

> I have the following problem:
> I want to create a DOM Object with means of XPATH e.g.

XPath does not create trees, it selects elements from them. What you
want is either XSLT or XQuery. 

You could get the result you want with an XSLT Stylesheet

<xsl:param name="seller"/>
<xsl:param name="buyer"/>

      <seller><xsl:value-of select="$seller"/></seller>

You get the idea.