Jump to content

trying to use escape-uri


Guest jnd7777
 Share

Recommended Posts

Guest jnd7777

I'm tryin to use the escape-uri function. Has anyone had luck with this function?Oxygen is complaining that it can't find it.Here's a snippet:<a class="reviewLink"> <xsl:attribute name="href">site_reviews.html? <xsl:value-of select="$base_query_string"/>&site_id= <xsl:value-of select="escape-uri(normalize-space(/booyahpage/data/prev_review), false())"/></xsl:attribute>Previous</a>I've tried to include the namespace as specified here: W3 Schoolsbut it complains that the namespace is unavailable!Thanks for your help.

Link to comment
Share on other sites

Well, I guess this function is an XPath 2.0 function which means it's not supported yet. You shouldn't expect it in the future either though. W3C has deprecated it and added two new functions that act like it with parameters to true and false. See the changelog for details.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...