[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xml:base, resolve-uri and imported xslt files: how

Subject: RE: xml:base, resolve-uri and imported xslt files: how to get the importing base url from imported xslt
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 9 Oct 2006 23:46:10 +0100
RE:  xml:base
> Here it goes (just to be sure, I included all the heading 
> information as well). Just run A.xslt with Saxon8B and you 
> get "E No value supplied for required parameter redefine-me]" 
> (I actually called it with input doc as 'A.xslt'). It 
> shouldn't matter whether the >>required="no"<< is there or 
> not, but for what it's worth, I tried both: same result.

It works for me. But I see now there was a bug in versions prior to 8.7.2:

https://sourceforge.net/tracker/index.php?func=detail&aid=1477110&group_id=2
9872&atid=397617

Michael Kay
http://www.saxonica.com/

> 
> Stylesheet A.xslt:
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
> version="2.0">
>     <xsl:import href="B.xslt" />
>     <xsl:param name="redefine-me" select=" 'OVERRIDDEN!' " 
> required="no" /> </xsl:stylesheet>
> 
> Stylesheet B.xslt:
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
> version="2.0">
>     <xsl:param name="redefine-me" required="yes" /> </xsl:stylesheet>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.