OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: new to XML

[ Lists Home | Date Index | Thread Index ]
  • From: mark hu <mark@fintrack.com>
  • To: Derek Denny-Brown <derekdb@microsoft.com>, tpassin@home.com,rajib.k.bhattacharyya@in.pwcglobal.com, Jyotinarayanan <ncjyoti@hotmail.com>
  • Date: Tue, 22 Aug 2000 14:56:57 -0400

here's the line I tried again:

<xsl:stylesheet version='1.0' xmlns:xsl='www.w3.org/1999/XSL/Transform'>

still not working ???
----- Original Message -----
From: Derek Denny-Brown <derekdb@microsoft.com>
To: 'mark hu' <mark@fintrack.com>; <tpassin@home.com>;
<rajib.k.bhattacharyya@in.pwcglobal.com>; Jyotinarayanan
<ncjyoti@hotmail.com>
Cc: <xml-dev@lists.xml.org>
Sent: Tuesday, August 22, 2000 2:11 PM
Subject: RE: new to XML


> IE5.0 shipped before XSLT was finalized, and thus was based on an earlier
> version of the spec. (Such is what happens when standards completion dates
> slip faster than product release dates.  No need to argue the politics of
> this here, as this is a _well_ beaten horse.)  I don't remember the exact
> logic behind the decision for that ("http://www.w3.org/TR/WD-xsl")
specific
> URI as our namespace identifier.  "http://www.w3.org/XSL/Transform/1.0" is
> not the proper XSLT URI, anyway.  It should read
> "http://www.w3.org/1999/XSL/Transform/1.0".  This will specify the
official
> XSLT.   (I could be wrong, XSLT is not my strong point.)
>
> MSXML 2.6 (which will ship with SQL Server 2000) and MSXML 3.0 (which will
> ship on the web in October), both implement the official XSLT spec (as
well
> as continuing to support the older, MS-specific XSL supported in IE5.0).
> See http://msdn.microsoft.com/xml for more info on MSXML 3.0 (under
> tech-preview).
>
> Derek Denny-Brown
> Software Developer, MSXML
> <http://msdn.microsoft.com/xml>
>
>
> -----Original Message-----
> From: mark hu [mailto:mark@fintrack.com]
> Sent: Tuesday, August 22, 2000 6:05 AM
> To: tpassin@home.com; rajib.k.bhattacharyya@in.pwcglobal.com;
> Jyotinarayanan
> Cc: xml-dev@lists.xml.org
> Subject: Re: new to 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@home.com>
> To: <rajib.k.bhattacharyya@in.pwcglobal.com>; Jyotinarayanan
> <ncjyoti@hotmail.com>
> Cc: <xml-dev@lists.xml.org>
> 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@in.pwcglobal.com> 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)
> > >
> >
> >
> >
>


  • References:



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS