Re: Loading an external file of index

Subject: Re: Loading an external file of index
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Thu, 22 Jun 2000 12:42:37 +0200

> So, the question is where do I declare  <xsl:key name="mysetofkeys"
> match="key" use="@name"/> for being able to fill the table with all keys
> from the imported file ?

The document function can also be used outside a template (it would be
more touchy if the name of the file you want to include depended on a
local value)...

I haven't tested it since my favorite XSLT processors is lacking key
support, but something like :

<xsl:stylesheet xmlns:xsl="";

        <xsl:output method="html" indent="no"/>

	<xsl:key name="mysetofkeys" 


</xsl:stylesheet >

should work from my understanding of the rec.

You can also define document('../shared/shared.xml') as a global
variable to reuse it in your templates.

Hope this helps.

Eric van der Vlist       Dyomedea              

 XSL-List info and archive:

Current Thread