[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how creating a DOM with help of XPATH????
- From: Christian Nentwich <c.nentwich@cs.ucl.ac.uk>
- To: xml-dev@lists.xml.org
- Date: Fri, 20 Apr 2001 12:24:15 +0100
> 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"/>
<gcig>
<cir>
<seller><xsl:value-of select="$seller"/></seller>
<buyer>....
You get the idea.
Christian