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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: XSL - Condition

[ Lists Home | Date Index | Thread Index ]
  • From: Michael Fitzgerald <mike@wyeast.net>
  • To: Mike Brown <mbrown@corp.webb.net>, xml-dev@lists.xml.org
  • Date: Tue, 19 Dec 2000 08:47:15 -0800

However, while using an XMLDecl is good practice, neither the XML spec nor
MSIE 5.5 require it. The grammatical production shows that you can have zero
or one instance of XMLDecl:

[22]  prolog ::=      XMLDecl?          Misc* (doctypedecl Misc*)?

See http://www.w3.org/TR/REC-xml#sec-prolog-dtd

So Gayathri Sundararajan's advice is not "terrible," though it might be a
bit of a kludge! %^}

Mike Fitzgerald

-----Original Message-----
From: Mike Brown [mailto:mbrown@corp.webb.net]
Sent: Monday, December 18, 2000 5:53 PM
To: xml-dev@lists.xml.org
Cc: 'vkumar@techbooks.com'
Subject: RE: XSL - Condition

Kumar V. wrote:
> > Strip-space, Preserve-space & the below condition is
> > not working in IE5.5.

>  try removing the line <?xml version="1.0"?>

What terrible advice. If you don't know the answer, either say so, or don't
reply at all. Do not guess.

Kumar, do *not* remove the XML declaration. An XSL stylesheet is an XML
document. The XML declaration should stay. Ask your question on the XSL-List
or on the microsoft.public.xsl newsgroup. And as Linda said, read

   - Mike
Mike J. Brown, software engineer at            My XML/XSL resources:
webb.net in Denver, Colorado, USA              http://skew.org/xml/


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

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