|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to pass search path as variable and get back n
Andrew Kerns wrote:
<xsl:param name="DATA_REQUEST_NAME"/>
Your problem is much simpler to solve, try this:
<xsl:variable name="ftype_search"
select="//JOB_REQUEST/DATA_REQUEST[@NAME=$DATA_REQUEST_NAME]/FILE_TYPE"/>If you really want to pass more complicated expressions
as parameter values, like "1 + 1" or "/DATA_REQUEST[@NAME=$DATA_REQUEST_NAME]",
search the manual for your processor for an evaluate()
function, usually to be used like this:
<xsl:variable name="ftype_search"
select="xx:evaluate(concat('//JOB_REQUEST',$REQUEST))"/>
MSXML does not have an evaluate() function, use some
JScript in this case.J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








