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

Re: selecting a parameter using string expression?

Subject: Re: selecting a parameter using string expression?
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 13 Aug 2002 23:34:20 +0200
Re:  selecting a parameter using string expression?
Mattias Konradsson wrote:
Hmm, I've bit of a problem, I need to fetch a string from an attribute in an
xml-file and then see if there's a parameter with the same name (parameter
to the stylesheet that is). Can't find any way to run filters on parameters
like I can on elements, anyone know how to accomplish this?

You can see whether a parameter with the same name exists: document('')/*/xsl:param[@name=$attribute-name] but I'm not aware of a way to get the value assigned to the parameter. XSLT has been designed to be a compiled language.

J.Pietschmann


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.