[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XPath problem

Subject: Re: XPath problem
From: Tom Schutzer-Weissmann <xsl@xxxxxxxxxxxxxxxx>
Date: Wed, 28 Apr 2004 12:12:42 +0100
schutzer weissmann
On Wed, 28 Apr 2004 09:22:18 +0000
"Jonny Pony" <jonnypony666@xxxxxxxxxxx> wrote:
...
> But I want the tree starting from an other node; e.g. the node <nina>.

then just apply the render templates to a subsection of the document:
...
>             <body>
>                 <h3>Can't find the solution for my problem</h3>
>                 <xsl:apply-templates select="DB/Nina" mode="render"/>
>             </body>

Alternatively, change the template that matches the root (/):

>     <xsl:template match="/" mode="render">
>         tree
>         <br/>
>     <xsl:apply-templates select="DB/Nina" mode="render"/>
>     </xsl:template>

This way you will always start with "tree".

regards,
Tom SW

Current Thread
  • XPath problem
    • Jonny Pony - Wed, 28 Apr 2004 05:34:34 -0400 (EDT)
      • Tom Schutzer-Weissmann - Wed, 28 Apr 2004 07:21:31 -0400 (EDT) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.