[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: need help outputing summary of head elements

Subject: RE: need help outputing summary of head elements
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 20 Sep 2005 11:52:43 +0100
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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.