Altova Mailing List Archives

Re: [xsl] import, xslt 2.1

From: Dave Pawson <davep@-------.--.-->
To: David Carlisle <davidc@---.--.-->
Date: 3/12/2010 12:56:00 PM
On 12/03/10 12:06, David Carlisle wrote:
> On 12/03/2010 11:09, Dave Pawson wrote:
>> Any reason this shouldn't be an avt?
> It would have to be a very severely constrained avt, like use-when
> normally an avt has access to the all variables, functions etc that are
> defined in the stylesheet, but xsl:import needs to be resolved before
> the stylesheet can be compiled (or at least before it can be assembled
> from precompiled bits)
> What would values would you want the expression to depend on?
> input parameters to the stylesheet?
> values in the source?
> baase-uri of the importing stylesheet?
> something else?
> David

  input parameters to the stylesheet?  Very useful
  values in the source?                Less so IMHO
  baase-uri of the importing stylesheet? If I can do that, I can simply 
say ../../xxx.xsl, so less useful
  something else?.  A combination of $param and literal?

So if it's a configuration issue, restricting it
to a combination of input param and literal would be sufficient I think


Dave Pawson

XSL-List info and archive:
To unsubscribe, go to:
or e-mail: <mailto:xsl-list-unsubscribe@l...>


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.