W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2007

Re: external-graphic

From: axdmoraes <alexmoraes@gmail.com>
Date: Thu, 13 Sep 2007 05:56:41 -0700 (PDT)
Message-ID: <12654329.post@talk.nabble.com>
To: www-xsl-fo@w3.org



HI,

 I´m using xep 4.10..

Alexandre


Tony Graham-3 wrote:
> 
> 
> 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
> ======================================================================
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/external-graphic-tf4424287.html#a12654329
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Thursday, 13 September 2007 12:56:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:05:23 UTC