xsl-list
[Top] [All Lists]

RE: [xsl] xml:base, resolve-uri and imported xslt files: how to get the importing base url from imported xslt

2006-10-09 15:46:31
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>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>