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

Re: XHTML html validation

Subject: Re: XHTML html validation
From: John Steel <john.steel@xxxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2007 11:37:22 +0000
Re:  XHTML html validation
Abel Braaksma wrote:
Hi John,

If you go XHTML, you don't want to use the method HTML, as it will not produce legal XHTML, which Andrew already pointed out.

Thanks (and Andrew too).
To confuse things more, a peek at the source of http://validator.w3.org/ shows


<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

I think thats gonna conform!
One more thing: if you want to force a certain string on the beginning of your file, you can use a trick with character-maps in XSLT 2 to get it there. I've put a workaround on this or saxon's list a while ago, but it is easy enough to implement.
Thanks, looks like I need this.
I'll raise a bug against resin - looks like they are the culprit with this bizarre HTML rather than html entry.


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.