[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: ?XSL & XML inside one file


Subject: RE: ?XSL & XML inside one file
From: "DuCharme, Robert" <Robert.DuCharme@xxxxxxxxxx>
Date: Thu, 27 Jul 2000 13:09:52 -0400

>>Is it possible to write XML and XSL stylesheet not in different files
>>but in one?

>Hi, you can use two xml data islands in an html page:
><xml id='xml'>the xml string</xml>
><xml id='xsl'>the xsl string</xml>

But how do you tell your XSLT processor (in your case, IE) to apply the
stylesheet in the second data island to the XML document in the first? I
believe that was the intent of the original question--he didn't want to just
*put* them in the same file, he wanted a processor to process the XML file
using the XSL stylesheet stored as part of the same file. 

Bob DuCharme          www.snee.com/bob           <bob@  
snee.com>  "The elements be kind to thee, and make thy
spirits all of comfort!" Anthony and Cleopatra, III ii


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords