Using <eval> to get a value for a flow object attribute

Subject: Using <eval> to get a value for a flow object attribute
From: Ed Burns <edburns@xxxxxxx>
Date: Thu, 7 May 1998 14:39:54 -0700
Hi There,

How can I use the eval tag to get an attribute from the current element
and have that be rendered as the value of an attribute in the result
output?  

This example uses HTML flow objects.  Note that <SELECT> is a flow
object, not an XSL tag.  (MSXSL and DOCPROC they handle this by
replacing <select> with <select-elements>.)

<rule>

	<target-element type="system"/>

	<SELECT NAME="<eval>getAttribute("label")</eval>">

		<children/>

</rule>

Is there any way to escape the enclosing quotes?

Thanks,

Ed




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


Current Thread