<?xml-stylesheet>

The following is an XML document (DocBook, to be precise) with an
<?xml-stylesheet> PI that points to an XSLT stylesheet that transforms
it to XHTML:

http://xml.des.no/docbook/on-the-fly/

When you click the "Valid XHTML 1.0!" icon at the bottom, the validator
happily announces that it is a valid DocBook 4.5 document (interesting -
did it actually validate the document against the DocBook DTD?).  What I
would like it to do, instead, is apply the stylesheet and validate the
result.

Is this something you would be willing to implement?

Of course, there would have to be some form of protection against
runaway stylesheets...

DES
-- 
Dag-Erling Smørgrav - des@des.no

Received on Wednesday, 27 May 2009 07:23:46 UTC