On Wednesday 24 April 2002 16:19, Daemmon wrote:
> On 24 Apr 2002, at 14:03, Markus Jais wrote:
> > when I transfrom it with xsltproc it works just fine.
> > but when I access it with my browser the content of the
> > "subnav.xml" and "topnav.xml" file are not inserted.
> >
> > but it is essential for my application that I can include xml files
> > in other xml files like this.
>
> Since you are using XSLT you can use the document() function in
> your login.xsl.
>
> One step better might be to create another stylesheet (say
> addnav.xsl) that uses the document() function to pull in the nav
> files. The you could then use it as a "library" stylesheet on any
> page in your site:
>
> <?xml version="1.0"?>
> <?xml-stylesheet href="." type="application/x-xsp"?>
> <?xml-stylesheet href="login.xsl" type="text/xsl"?>
> <?xml-stylesheet href="addnav.xsl" type="text/xsl"?>
>
>

thanks for your tip. but I am not sure if using another stylesheet 
might be too much of performance overhead, because it means building
more XSLT trees in memory and performance is very crucial to our
application, but I still want to use Axkit.

maybe I have to make some tests

markus



> Daemmon Hughes
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to