This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: ?XSL & XML inside one file


>>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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]