Re: [xsl] external files

Subject: Re: [xsl] external files
From: "Betty L. Harvey" <harvey@xxxxxxxxxxxxxxxxx>
Date: Wed, 11 Jul 2001 08:54:58 -0400 (EDT)

	I am not sure I understand exactly what you want to do but
if you are calling an external XML fragment into another XML document
you don't have to make any changes to your XSL.

	For example the following files:

Main XML File
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="a.xsl" type="text/xsl"?>
<!ENTITY b SYSTEM "b.xml">

XML Fragment


As long as you have <xsl:template> rules for <b>
and <c> in the XSL file it will render the XML as
if it were one file.


Betty Harvey                         | Phone: 410-787-9200 FAX: 9830 
Electronic Commerce Connection, Inc. |        
harvey@xxxxxxxxxx                    | Washington,DC SGML/XML Users Grp
URL:          |

On Wed, 11 Jul 2001, Mike Lamb wrote:

> Thanks all for your comments. I think I can simplify my inquiry:
> I need to be able to import an XML file specified in my source document and
> process it using templates in my ORIGINAL xsl file. I suspect that the
> document() function allows me to do exactly this, but I am very unclear on
> the mechanics. Any thoughts on this simplified problem?
>  XSL-List info and archive:


 XSL-List info and archive:

Current Thread