Re: [xsl] XHTML + XSL -> HTML problem

Subject: Re: [xsl] XHTML + XSL -> HTML problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 24 May 2004 14:10:20 +0100
> I have a XHTML file as follows

It's not well formed XML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";;>
                                                         ^
                                                         ^
zap that semicolon

The error message is ponting at exactly the right place and giving the
right message, it wants to see a > there not a ;



Line:   2
Column: 70
The character '>' was expected.


> Is parsing a XHTML via xsl a similar process?
XHTML is XML so parsing is of course the same.

Note however that the <?xml-stylesheet is specifying XSL transformation,
not parsing.

David

-- 
The LaTeX Companion
  http://www.awprofessional.com/bookstore/product.asp?isbn=0201362996
  http://www.amazon.co.uk/exec/obidos/tg/detail/-/0201362996/202-7257897-0619804


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread