forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ferdinand Soethe <samm...@soethe.net>
Subject Re: Q: Combining grammars?
Date Thu, 17 Mar 2005 21:54:45 GMT

After some more reading ....

Given this structure

FS> <coursedata>
FS>   <structuredpart>
FS>      ...
FS>   </structuredpart>
FS>   <webtext>
FS>      content in here should validate against document-v20
FS>   </webtext>
FS> </coursedata>

will this be ok for a dtd?

FS> <?xml version="1.0" encoding="UTF-8"?>
FS> 
FS> 
FS> <!-- =============================================================== -->
FS> <!-- Include the Common ISO Character Entity Sets -->
FS> <!-- =============================================================== -->
FS> 
FS> <!ENTITY % common-charents PUBLIC
FS> "-//APACHE//ENTITIES Common Character Entity Sets V1.0//EN"
FS> "common-charents-v10.mod">
FS> %common-charents;
FS> 
FS> <!-- =============================================================== -->
FS> <!-- Document -->
FS> <!-- =============================================================== -->
FS> 
FS> <!ENTITY % document PUBLIC
FS>     "-//APACHE//ENTITIES Documentation V2.0//EN"
FS>     "document-v20.mod">
FS> %document;
FS> 
FS> <!-- webtext can have anything that body can in normal docs -->
FS> <!ELEMENT webtext (%sections; | %blocks;)+>
FS> 
FS> <!-- Need to define Elements of my structured part here -->
FS> 
FS> 
FS> <!-- My main structure -->
FS> <!ELEMENT coursedata (webtext | structuredpart )+>

Thanks
Ferdinand Soethe


Mime
View raw message