On Tue, 6 Mar 2001, Bernhard Zwischenbrugger wrote:

> Is it possible to read more then one input xml-file
> for xslt prozessing:
>
> Are things like this supported in sablotron?
>
> <?xml version="1.0"?>
> <main xmlns:xinclude="http://www.w3.org/1999/XML/xinclude">
> <xinclude:include href="old.xml"/>
> <xinclude:include href="new.xml"/>
> </main>
>
> It didn't work - maybe the wrong syntax.
> Is there an other way for doing that?

Use entities:

<!DOCTYPE main [
<!ENTITY old SYSTEM "old.xml">
<!ENTITY new SYSTEM "new.xml">
]>
<main>
&old;
&new;
</main>

Alternatively, try libxslt which supports xinclude.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\

Reply via email to