Subject: [xsl] DTD type that allows XHTML? From: Ruben Inoto <ris2@xxxxxxxxx> Date: Tue, 27 Mar 2001 09:42:57 +0200 |
Hello everybody, maybe this is not the list to post this issue, but I'm stuck and I need some help: I'm trying to create a DTD to validate an xml document. The problem is that I have one tag in my xml that can contain welll formed HTML: <myTag> Any kind of <font size="2">text</font> and <br/> well-formed HTML </myTag> I would like my DTD to allow any kind of text and tags inside <myTag>. I read somewhere that this can be done using ANY for the type of element: <!ELEMENT myTag ANY> but I get the error: Element type "font" must be declared. Using (#PCDATA) instead of ANY I get the same error. I'm using SAXParser, any suggestion? Thanks in advance.. //Ruben XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xsl:include, Michael Kay | Thread | Re: [xsl] DTD type that allows XHTM, Lee Goddard |
RE: [xsl] Can one element have more, DPawson | Date | RE: [xsl] Can one element have more, Christopher R. Maden |
Month |