Subject: RE: [xsl] html output From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Tue, 1 May 2001 15:23:52 +0100 |
Zafer, Are you trying to view your xml in netscape? If you use the http://www.w3.org/1999/XSL/Transform namespace with the standard IE5.. browser it usually outputs the xslt source. If you have downloaded msxml3 and installed it *AND* run xmlinst it should work. If it doesn't and still outputs the *XML* source then you must be using Opera or some other browser. Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Zafer >Bayraktar >Sent: 01 May 2001 15:40 >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx >Subject: Re: [xsl] html output > > >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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] html output, Zafer Bayraktar | Thread | [xsl] hex\decimal, Kevin_Gutch |
[xsl] Xalan Extensions, Earl Spencer | Date | Re: [xsl] html output, Zafer Bayraktar |
Month |