XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jerry JanofskySubject: Error trying to use escape-uri
Author: Jerry Janofsky
Date: 11 Oct 2006 11:17 AM
I keep getting the following error when I try to use the escape-uri() XPath function: "Unknown system function escape-uri()"

I am using Saxon 8.7.3. I have "<xsl:stylesheet version="2.0"/>". I have also used other version 2 functions. But for some reason I can't get this one to work. I've included a fragment below to show how I am using it. Has anyone else had this problem?

Jerry J

<fo:external-graphic border="1pt solid black" content-width="1.0in">
<xsl:attribute name="src">url(<xsl:value-of select="escape-uri('Image Name.JPG', true())"/>)</xsl:attribute>
</fo:external-graphic>

Postnext
Ivan PedruzziSubject: Error trying to use escape-uri
Author: Ivan Pedruzzi
Date: 11 Oct 2006 11:22 AM
Hi Jerry,

I think we discussed this topic in the past
http://www.stylusstudio.com/SSDN/default.asp?action=9&fid=48&read=5368


Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
Jerry JanofskySubject: Error trying to use escape-uri
Author: Jerry Janofsky
Date: 11 Oct 2006 11:29 AM
Thanks Ivan, we have. After posting I searched and found myself. I am trying encode-for-uri now. I never ended up using it before. I appologize for that. However, I still would like to know why I can't use "escape-uri".

Thank you again.

Postnext
Ivan PedruzziSubject: Error trying to use escape-uri
Author: Ivan Pedruzzi
Date: 11 Oct 2006 12:18 PM
escape-uri function was part of an early XPath draft, it was removed starting from the WD 3 November 2005

XPath 2.0 specs
http://www.w3.org/TR/xpath-functions

Ivan Pedruzzi
Stylus Studio Team

Posttop
Jerry JanofskySubject: Error trying to use escape-uri
Author: Jerry Janofsky
Date: 11 Oct 2006 01:04 PM
Thank you for that info.

Jerry Janofsky

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.