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

Re: Reprocessing XHTML with XSLT

Subject: Re: Reprocessing XHTML with XSLT
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Fri, 01 Nov 2002 02:31:28 +0000
Re:  Reprocessing XHTML with XSLT
Michael Kay wrote:
You'll probably find that harmless-looking XHTML DTD is declaring a
default namespace for you - a practice which should be punishable by
flogging.

Certainly appears to:


<!-- the namespace URI designates the document profile -->

<!ELEMENT html (head, body)>
<!ATTLIST html
  %i18n;
  xmlns       %URI;          #FIXED 'http://www.w3.org/1999/xhtml'
  >

However, editing the xmlns attribute out of the DTD doesn't fix the problem.

Removing the DocType Declaration from the instance fixes it. I thought
there might be a further entity reference with another copy of the
namespace declaration but running spam to expand the whole caboodle
and grepping for xmlns says not.

I wonder where it's coming from...

///Peter


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

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
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.