[Home] [By Thread] [By Date] [Recent Entries]

  • From: Christian Nentwich <c.nentwich@c...>
  • To: xml-dev@l...
  • 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member