forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Sitruk" <>
Subject RE: Question: adding formatting for 'xml' conent of source element
Date Sun, 08 Jun 2003 21:27:10 GMT
Jeff hi 

I've already tried this, but the ANY declaration tells the XML validator
that ANY of the declared element in the DTD is legal. I can't override
the DTD for each of the xml samples I want to add, it will be a

-----Original Message-----
From: Jeff Turner [] 
Sent: Sunday, June 08, 2003 07:50
Subject: Re: Question: adding formatting for 'xml' conent of source

On Sun, Jun 08, 2003 at 07:17:32AM +0200, Mikael Sitruk wrote:
> Jeff hi
> The formatting/colorizing is not problem since I have already done the
> color and I have also added the type attribute on the source element.
> The real problem is that the source element in the DTD does NOT allow
> any element in it. So each time I put XML elements there I get
> validation error.

That's the symptom of doing it the wrong way :)  But anyway, I think it
can be done by overriding the DTD as described at:

And redefining the 'source' attribute as:

<!ELEMENT source ANY>


> Mikael.S

View raw message