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

REPOST about dynamic xpath.(relates to RE: problem in

Subject: REPOST about dynamic xpath.(relates to RE: problem in using * as a default para)
From: "=?big5?b?qkwgpGyq5A==?=" <minikittygo@xxxxxxxxxxx>
Date: Wed, 01 May 2002 16:20:40 +0000
dynamic xpath xalan
hi all

thanks for your solutions, however, i was wondering what happens if it is there are more than one parameter within the xpath expression? is there an legant solution for it? i.e. <xsl:param name="param1" select="'*'"/> <xsl:param name="param2" select="'*'"/> ... <xsl:for-each select="elementName[childName/something1=$param1 and $childName/something2=$param2]> ... <xsl:for-each>


Furthermore, i was wondering how will you set the parameter if the parameter consist of white spaces (e.g. parameter='this is my parameter'), in xalan-C command line will ignore the 'is', 'my' and 'parameter' and throws an XPathParserexception error. do i use normalize-space($param1)? but it seem it doesn't work, please help.


finally, can i use the following parameter for a xsl:for-each statement using xalan:evaluate? (e.g. "a/c='hello world'") sorry about throw so many questions at the same time

Many thanks regards Kit




_________________________________________________________________ ¦b±zªº¦æ°Ê¸Ë¸m¤W¶Ç°e±µ¦¬ Hotmail ¶l¥ó¡A½Ð²¾¦Ü¡Ghttp://mobile.msn.com


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.