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

Re: html output

Subject: Re: html output
From: "Zafer Bayraktar" <z-b@xxxxxxxx>
Date: Tue, 1 May 2001 16:39:49 +0200
Re:  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:  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

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.