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

Apply-Templates

Subject: Apply-Templates
From: Elmar.Hurni@xxxxxx
Date: Mon, 12 May 2003 14:42:01 +0200
elmar hurni
Hello

I use the Function <xsl:apply-templates> to Apply a set of Template.
Because the calls are dynamic, i built the Node/Nodepaths up as follows:

	<xsl:apply-templates select="layout/page-setup/*[$nodeNr]"/>
It does not work. The Nodes to be execute are all Template are linked with
the Nodes underneath page-setup...

	<xsl:apply-templates select="layout/page-setup/*[3]"/> does work!

If i generate first a Variable, then i get the following error:
	-> NOT A NODE OR NODESET

Is there a Function, with which i can convert a String into a Node/Nodeset?
Or Is there another possibility?

THX Bule



___________________________________________________________________________________
 
Diese E-Mail ist nur fuer die als Empfaenger genannte Person oder Gesellschaft bestimmt. Wenn Sie diese
E-Mail irrtuemlich erhalten haben, bitten wir Sie, den Absender zu benachrichtigen und die E-Mail auf Ihrem
Computersystem zu loeschen.
___________________________________________________________________________________
 


 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.