[Home] [By Thread] [By Date] [Recent Entries]

  • From: Michael Fitzgerald <mike@w...>
  • To: Mike Brown <mbrown@c...>, xml-dev@l...
  • 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@c...]
Sent: Monday, December 18, 2000 5:53 PM
To: xml-dev@l...
Cc: 'vkumar@t...'
Subject: RE: XSL - Condition


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

GAYATHRI SUNDARARAJAN wrote:
>  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
http://www.netcrucible.com/xslt/msxml-faq.htm.

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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member