[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to workaround restriction of overloading func
On 17 July 2012 16:32, Robby Pelssers <Robby.Pelssers@xxxxxxx> wrote: > Damn... > > I was already thinking along those lines but I wasn't sure if such approach would work. > > > So let's assume I needed an uber-function that would return a sequence of URI's, would sth like this work? > > I want a list of all URI's stored in a variable uniqueURIs. Since I can't use mode in a select statement like > <xsl:variable name="uniqueURIs" select="/maximo:*" mode="getURI"/> > > I will probably need to call a function? > <xsl:variable name="uniqueURIs" select="znapz:getUniqueURIs(/maximo:*)"/> or just apply-templates in the variable: <xsl:variable name="uniqueURIs" as="xs:anyURI+"> <xsl:apply-templates select="/maximo:*" mode="getURI"/> </ -- Andrew Welch http://andrewjwelch.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
|