Re: [xsl] DTD type that allows XHTML?

Subject: Re: [xsl] DTD type that allows XHTML?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 27 Mar 2001 10:13:19 +0100
 <!ELEMENT myTag ANY>

 but I get the error:

    Element type "font" must be declared.


ANY allows any element that has been declared in the DTD to be used at
that point. BUT you still have to declare the elements if you want
validity.

But if you want any element to be used then it is probably simpler to
use a non validating parser and just ask fr well-formedness, not
validity.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

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


Current Thread