Subject: RE: [xsl] need help outputing summary of head elements From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 20 Sep 2005 11:52:43 +0100 |
> > 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] need help outputing summa, David Carlisle | Thread | RE: [xsl] need help outputing summa, UlyLee |
RE: [xsl] need help outputing summa, Michael Kay | Date | RE: [xsl] RE: XML to HTML, Shailesh Shinde |
Month |