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

Re: new to XML

  • From: mark hu <mark@f...>
  • To: tpassin@h..., rajib.k.bhattacharyya@i...,Jyotinarayanan <ncjyoti@h...>
  • Date: Tue, 22 Aug 2000 09:04:55 -0400

diference between html and xml
I am using IE 5.0 without updating any components - tried your line, it does
not work - using the line from rajib, it works fine ... can u help me figure
out why ? Actually, what's the exact diference between :

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
and
<xsl:stylesheet xmlns:xsl='http://www.w3.org/XSL/Transform/1.0'>

FYI: tried on win2000 pro with IE 5.5 - does not work either , cheers


mark

"Life Is Fun Only After You Found It Out"
----- Original Message -----
From: <tpassin@h...>
To: <rajib.k.bhattacharyya@i...>; Jyotinarayanan
<ncjyoti@h...>
Cc: <xml-dev@l...>
Sent: Monday, August 21, 2000 8:49 AM
Subject: Re: new to XML


> Thie example will only work if you run it with Internet Explorer 5.0+, and
> then only if you have not  updated the xml component in it.  For any other
> XSL processor, or for the new Microsoft parser, you have to use
>
> <xsl:stylesheet xmlns:xsl='http://www.w3.org/XSL/Transform/1.0'>
>
> in place of the corresponding line below.
>
> <rajib.k.bhattacharyya@i...> replied to a request for help -
>
> > Try out this xsl ... save it as a file and  add a reference of the same
in
> ur
> > xml file
> >
> >
> > <?xml version="1.0"?>
> > <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
> > <xsl:template match="/">
> > <html>
> > <body>
> > <H2>BOOKSTORE SYSTEM</H2>
> > <table border="2" bgcolor="yellow">
> > <tr>
> >    <th>TITLE</th>
> >    <th>AUTHOR</th>
> >    <th>YEAR</th>
> >    <th>ISBN</th>
> >    <th>PRICE</th>
> >    <th>REVIEW</th>
> > </tr>
> > <xsl:for-each select="BOOKSTORE/BOOK">
> > <tr>
> >    <td><xsl:value-of select="TITLE"/></td>
> >    <td><xsl:value-of select="AUTHOR"/></td>
> >    <td><xsl:value-of select="YEAR"/></td>
> >    <td><xsl:value-of select="ISBN"/></td>
> >    <td><xsl:value-of select="PRICE"/></td>
> >    <td><xsl:value-of select="REVIEW"/></td>
> > </tr>
> > </xsl:for-each>
> > </table>
> > </body>
> > </html>
> > </xsl:template>
> > </xsl:stylesheet>
> >
> >
> >
> > ----------------------
> > Add this line in the xml doc
> > <?xml-stylesheet type="text/xsl" href="bookstore..xsl"?>
> > ( where bookstore.xsl is the name of the file u have just saved)
> >
>
>
>


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.