[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] base uri and % encoding
Somewhere between the xsl, xquery, xdm, xml base and xml infoset drafts I got confused about when and if the values returned by base-uri() and friends are % encoded. using saxonB 8.8j as a reference, in XQuery declare base-uri "data:,"""; static-base-uri() returns data:," while the XSL <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:base="data:,""> <xsl:template name="main"> <xsl:value-of select="static-base-uri()"/> </xsl:template> </xsl:stylesheet> returns data:,%22 Are both those answers correct? If so, is it possible for _any_ XSL stylesheet to produce the same output as the first XQuery? If not, which one is wrong? David
|
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
|