[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: need help outputing summary of head elements
> > or simpler, > > > > <xsl:function name="num:roman" as="xs:string"> > > <xsl:param name="value" as="xs:integer"/> > > <xsl:number value="$value" format="I."/> > > </xsl:function> > > > > <xsl:variable name="strRoman" as="xs:string*" > > select="for $i in (1 to 19) return > > num:roman($i)"/> > > i used the former instead of the later, i'm having an > error on the for statement in select (not a valid > XPATH 2.0 expression). Did you declare the "num" namespace prefix? If you did, then this is a valid XPath 2.0 expression. Michael Kay http://www.saxonica.com/
|
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
|