This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: DTD type that allows XHTML?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] DTD type that allows XHTML?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 27 Mar 2001 10:13:19 +0100
- References: <3AC04480.E8293143@alu.ua.es>
- Reply-To: xsl-list at lists dot mulberrytech dot com
<!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