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

finding nodes

Subject: finding nodes
From: jm <mailinglist@xxxxxxxxxxxxxx>
Date: Sat, 15 Mar 2003 16:13:46 +0100
 finding nodes
hi all,

if have a xml-document with the following structure (with nested page-nodes):

<site>
	<pages>
	
		<page id="SECTION_1">

			<page id="SUB_SECTION_1_1">

				<page id="SUB_SUB_SECTION_1_1_1">

				</page>

			</page>

			<page id="SUB_SECTION_1_2">

				....

			</page>
		</page>

		<page id="SECTION_2">

			....
		
		</page>

		


	</pages>
</site>


in my xsl-document I have the following parameter:
(later given via GET-request-params/Cocoon)

<xsl:param name="goto_page" select="SECTION_1/SUB_SECTION_1_1/SUB_SUB_SECTION_1_1_1"/>

an now I want to enter the node specified by the path given in $goto_page. this path 
has no restriction in depth.

i would prefer a solution without splitting the path if there is any? 

can anybody help me or does anybody know a howto-page or anything that could 
help me ?
thanks

cheers
jm

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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.