[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How can I see what html attributes IE thinks it is

Subject: Re: How can I see what html attributes IE thinks it is using?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Mon, 17 Sep 2001 03:52:12 -0700 (PDT)
ie thinks file download
> 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

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.