- From: Tony Graham <Tony.Graham@MenteithConsulting.com>
- Date: Thu, 13 Sep 2007 13:06:58 +0100
- To: www-xsl-fo@w3.org
On Wed, Sep 12 2007 19:23:29 +0100, alexmoraes@gmail.com wrote: > I tryed this: > > <xsl:variable name="absoluteURI" select="resolve-uri(@src, > base-uri(.))" as="xs:anyURI"/> > But it didnĀ“t work. > Two errors: > Error in expression resolve-uri(@src, base-uri(.)): Unknown system > function: resolve-uri; > and > Attribute as is not allowed on this element. > > Is there another way to solve this? The file that i need to check is an url. What XSLT processor are you using? resolve-uri() is an XPath 2.0 function, and it appears that you are using an XSLT 1.0 processor since it doesn't recognise the "as" attribute. To use Michael Kay's example in his XSL-List post, you would need a Java-based XSLT 2.0 processor (such as Michael Kay's 'Saxon'). Regards, Tony Graham. ====================================================================== Tony.Graham@MenteithConsulting.com http://www.menteithconsulting.com Menteith Consulting Ltd Registered in Ireland - No. 428599 Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland ---------------------------------------------------------------------- Menteith Consulting -- Understanding how markup works ======================================================================
Received on Thursday, 13 September 2007 12:07:15 UTC