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

RE: XSL - Condition

  • From: Michael Fitzgerald <mike@w...>
  • To: Mike Brown <mbrown@c...>, xml-dev@l...
  • Date: Tue, 19 Dec 2000 08:47:15 -0800

xsl condition
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/


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.