|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: external files
Mike:
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"?>
<!DOCTYPE a [
<!ENTITY b SYSTEM "b.xml">
]>
<a>&b;</a>
XML Fragment
<b>
<c>Text</c>
</b>
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
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
harvey@xxxxxxxxxx | Washington,DC SGML/XML Users Grp
URL: http://www.eccnet.com | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
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: http://www.mulberrytech.com/xsl/xsl-list
>
--
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








