homepage Welcome to WebmasterWorld Guest from 54.234.74.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Viewing XSLT in Internet Explorer
brucec




msg:701892
 1:34 pm on Aug 23, 2004 (gmt 0)

Can somebody tell me where I can download a utility to view the XSL Transformation in Internet explorer for an XML file?

Namely, I need to see the HTML that results from the XSLT.

 

davidpbrown




msg:701893
 2:05 pm on Aug 23, 2004 (gmt 0)

I expect you don't need a utility. You just need to link the xml file to an xsl stylesheet.

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="myxslfile.xsl"?>
..etc..

Throwing the xml file at IE, you should then see the output.. html or otherwise.

brucec




msg:701894
 2:07 pm on Aug 23, 2004 (gmt 0)

Thanks, I understand that and have a XSL stylesheet attached to my XML file, but when I view source, it shows me, my XML. I want the transformed HTML, not the XML.

I know there is a utility that will add "View XSL Transformation" to the context menu in IE, but I cannot find it.

Do you have a direct link to it?

Mr_Brutal




msg:701895
 2:32 pm on Aug 23, 2004 (gmt 0)

Hi,

I think that different versions of IE treat XML/XSL differently - to view my transformed XML with an attached XSL stlesheet i needed IE6, IE5 only showed the XML data.

You might have IE6 in which case your problem is something else but my IE6 shows transformed XML straight up!

davidpbrown




msg:701896
 2:53 pm on Aug 23, 2004 (gmt 0)

That makes some sense but for that I thought IE5 had a parser.

One (old) FAQ [netcrucible.com] points towards MSDN XML downloads [msdn.microsoft.com] which might be what your looking for.

Assuming, of course, that if not IE6 then IE5.. or is it IE4 brucec?

davidpbrown




msg:701897
 3:05 pm on Aug 23, 2004 (gmt 0)

Sorry, misread your second post and am slightly confused.
View source has always only shown me the original XML.

The transformed XML+XSL(=HTML for you) should be what you see in the main browser. View source you see the XML.. to get the XSL I've grabbed files from the temporary internet folder before now but not seen a utility to display both XML and XSL source.. though it would be useful.

davidpbrown




msg:701898
 8:08 am on Aug 24, 2004 (gmt 0)

.. the idea of viewing the transformation in IE was a little alien which is why I missed the point. Having used a processor like SAXON that's the only way I could think.

This may be the tool you were looking for "View XSL Transformation" in IE [heima.olivant.fo] - towards the bottom of the list there.

HTH

brucec




msg:701899
 6:08 pm on Aug 26, 2004 (gmt 0)

Thanks, David, but I found what I was looking for at Microsoft

Basically, it is a driver, believe it or not, an .INF file that when installed, will add "View XSL Output" and "Validate XML" items to the internet explorer context menu. The view source only shows the XML regardless of whether or not it is attached to an XSL file or not.

Thanks for your help,
Bruce

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved