xsl-list
[Top] [All Lists]

Re: XHTML + XSL -> HTML problem

2004-05-24 06:10:20


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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>