[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Passing counter value as macro arg.
Does the working draft preclude using an xsl:attribute to set the value for a macro arg? What I'm trying to do is pass a counter value to an macro. My XSL processor complains that the arg needs a value attribute. Is this XSL invalid or in the XSL processor incomplete. <xsl:invoke name="fooMacro"> <xsl:arg name="the-arg"> <xsl:attribute name="value"> <xsl:counter name="myCounter"/> </xsl:attribute> </xsl:arg> </xsl:invoke> See the 16-December-1998 Draft Section 2.7.2.3. Not being an adept XSL spec interpreter, I'm not sure if the above code is included, excluded, or ambiguously untreated. If this is invalid XSL, I wouldn't mind a pure XSL alternative for passing counter values as macro arguments. Evan 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
|