forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Question: adding formatting for 'xml' conent of source element
Date Sun, 08 Jun 2003 05:50:20 GMT
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:

http://xml.apache.org/forrest/validation.html

And redefining the 'source' attribute as:

<!ELEMENT source ANY>

--Jeff

> 
> Mikael.S

Mime
View raw message