This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: ?XSL & XML inside one file
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: ?XSL & XML inside one file
- From: "DuCharme, Robert" <Robert dot DuCharme at moodys dot com>
- Date: Thu, 27 Jul 2000 13:09:52 -0400
- Reply-To: xsl-list at mulberrytech dot com
>>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