Subject: Re: [xsl] html output From: "Zafer Bayraktar" <z-b@xxxxxxxx> Date: Tue, 1 May 2001 16:39:49 +0200 |
Hi, I have installed the program at the link you gave. Unfortunately, my problem continues. I just double click the xml file to open it in the browser. The code is: XML file is like that: <?xml version="1.0" ?> <?xml-stylesheet type="text/xsl" href="A.xsl"?> <XXX> </XXX> A.xsl is: <?xml version="1.0" ?> <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:xinclude="http://www.w3.org/1999/XML/xinclude"> <xsl:output method="html" /> <xsl:template match="/"> XSL .... </xsl:template> </xsl:stylesheet> ----- Original Message ----- From: "Mike Brown" <mike@xxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Cc: "Zafer BAYRAKTAR" <bayraktar@xxxxxxxxxxx> Sent: Sunday, April 29, 2001 9:20 PM Subject: Re: [xsl] html output > Jeni Tennison wrote: > > So I guess the question is how do you know that it's outputting XML > > rather than HTML? > > No working on the weekends! :) The answer is right here: > > > > The browser outputs xml source instead of html output. > ^^^^^^^ ^^^^^^ > ...and here: > > > > <?xml-stylesheet type="text/xsl" href="A.xsl"?> > > He's using the XSLT namespace with stock IE5 and getting output that he > doesn't expect. And he thinks View Source is showing him the output of the > transformation. > > Zafer, your XSLT code is fine. You are just using the wrong XSL > processor, and you are also not seeing what the actual output is. > You'll need to install the IE tools for Validating XML and Viewing XSLT > Output to see the HTML. They currently live at > > http://msdn.microsoft.com/downloads/default.asp?ShowPane=false&URL=/code/sam ple.asp?url=/msdn-files/027/000/543/msdncompositedoc.xml > > Go read the MSXML FAQ at http://www.netcrucible.com/ for info on updating > the processor that IE5 is using. > > - Mike > ____________________________________________________________________________ _ > mike j. brown, software engineer at | xml/xslt: http://skew.org/xml/ > webb.net in denver, colorado, USA | personal: http://hyperreal.org/~mike/ > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Xalan Extensions, Earl Spencer | Thread | RE: [xsl] html output, Chris Bayes |
RE: [xsl] html output, Chris Bayes | Date | RE: [xsl] Recursion Examples, Jon Wynacht |
Month |