Subject: [xsl] RE: How can I see what html attributes IE thinks it is using? From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Mon, 17 Sep 2001 04:58:58 -0700 (PDT) |
In case you have installed the right msxml add-ins (http://msdn.microsoft.com/downloads/sample.asp?url=/msdn-files/027/000/543/msdncompositedoc.xml&frame=true), just right-click on the IE display and select "View XSL output" from the pop-up menu. Cheers, Dimitre Novatchev. --- Robert Stuart <Robert.Stuart@xxxxxxxxxxxxxxxxx> wrote: > No - I know all the sources > > I'm looking for the HTML that IE has generated and displayed. > > IDE? I'm using XML-Spy > > I *could* use ASP to generate the html. I'd rather use the client - it's > significantly faster that my server. (Also, I want to upload just one xml > file, and one xslt file, using parameter calls at the client to control the > views.) > > Since my original mailing, I've acquired MSXML. The displayed HTML is > similar to that displayed by Spy. > > > BTW - I'm using IE 5.05.4522.1800 > > > -----Original Message----- > From: Dimitre Novatchev [mailto:dnovatchev@xxxxxxxxx] > Sent: 17 September 2001 11:52 > To: Robert.Stuart@xxxxxxxxxxxxxxxxx > Cc: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: How can I see what html attributes IE thinks it is using? > > > > I am using the same xml and xsl files in both XML-Spy and in IE to > > generate html - but my results look different in the two environments. > > > > Spy is giving me the results I expect. IE is not. > > > > I have seen similar results where spurious characters have appeared in > > generated files - and suspect a similar cause. > > > > > > > > Spy loads the files directly, IE is loading the xml and xsl through a file > > - index.xhtml (source below): > > > > <?xml version="1.0"?> > > <!DOCTYPE page [ > > <!ENTITY main SYSTEM "xml_file.xml"> > > <!ELEMENT page ANY> > > <!ATTLIST page id ID #REQUIRED> > > ]> > > <?xml-stylesheet type="text/xsl" title="MainStylesheet" > > href="xsl_file.xslt" alternate="no" media="screen"?> > > <page title="XML Main" id="page"> > > <pagemain> > > &main; > > </pagemain> > > </page> > > > > > Just comment out the "<?xml-stylesheet ... ?>" PI, save and then > double-click on the > file in Windows Explorer -- then IE will display the xml source. > > It is a better practice not to rely on IE for performing the transformation, > but > better use an XSLT IDE (e.g. the Xselerator, which supports not only MSXML3, > but > also Saxon and other XSLT processors). > > Hope this helped. > > Cheers, > Dimitre Novatchev. > > > __________________________________________________ > Do You Yahoo!? > Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger > http://im.yahoo.com __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: How can I see what html a, Robert Stuart | Thread | [xsl] RE: How can I see what html a, Robert Stuart |
Re: [xsl] exclude-result-prefixes, Jörg Heinicke | Date | RE: [xsl] exclude-result-prefixes, Jarno . Elovirta |
Month |