Hi.

> does anyone have any simple ,working examples of xsl/xml files using
> imports?

The one attached works for me. It uses style.xml which transforms 
in.xml to out.xml. It imports addon.xml (within the <addon> tags) and 
style2.xsl (within the <style2> tags). style2.xsl again imports 
addon.xml (within the <addon2> tags). Output is the following for me:

<?xml version="1.0" encoding="ISO-8859-1"?>
<out>
Hello, I was input and should become output
<addon>
Hello, I am addon data
</addon>
<style2>
This text is added by the imported stylesheet 2
<addon2>
Hello, I am addon data
</addon2>
</style2>
</out>

Regards.

--
Bjoern Martin                                [EMAIL PROTECTED]

test.zip

Reply via email to