Subject: Re: [xsl] xml:base, resolve-uri and imported xslt files: how to get the importing base url from imported xslt From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Mon, 09 Oct 2006 16:56:42 +0200 |
It's worth remembering that XSLT predates xml:base by many years. Not all (perhaps not any) XSLT processors recognize or support xml:base for the sort of thing you;re trying to do. If the documentation for your processor says it supports xml:base, then it probably does; but if it doesn't mention it, it probably doesn't.Copy that. Yet, the xslt specs also say that the containing element defines the base uri. How does that relate to xsl:import and xsl:include? In a way, the containing element is either <xsl:import /> itself or the <xsl:stylesheet> element of the importing stylesheet. Isn't it? Or am I now interpreting the parent/child relations and base uri resolution rules too freely?
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xml:base, resolve-uri and, Abel Braaksma | Thread | Re: [xsl] xml:base, resolve-uri and, Andrew Welch |
Re: [xsl] xml:base, resolve-uri and, Abel Braaksma | Date | Re: [xsl] xml:base, resolve-uri and, Abel Braaksma |
Month |