471,305 Members | 1,476 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

adding existing calls of docbook to new elements

Dear Experts,

I'm new to docbook and have sucessfully started to get into
customisation layers. Therefore I changed the dtd as recomended.
But I got stuck at the simple point when I want to add existing classes
to my new elements.
E.g I would like to see every thing of the para.class to my new element
eeabastract. Please find my DTD below:
My problem is that I can only refer to an existing class after
%DocBookDTD is called. But than I ca not longer add things to it.

How to make this right ???

Thanks a lot for your help
Rolf

<?xml version="1.0" encoding="UTF-8"?>
<!-- eefrontpage -->
<!ENTITY % eefrontpage.module "INCLUDE">
<![%eefrontpage.module;[
<!ENTITY % eefrontpage.element "INCLUDE">
<![%eefrontpage.element;[

<!ELEMENT eefrontpage
(docnumber+,doctitle,docsubtitle,department,effect ivedate,approvedby,checkedby,issuedby,distribution )>
<!ELEMENT docnumber (#PCDATA) >
<!ATTLIST docnumber type (EE|IDS) #REQUIRED>
<!ELEMENT doctitle (#PCDATA) >
<!ELEMENT docsubtitle (#PCDATA) >
<!ELEMENT department (#PCDATA)>
<!ELEMENT effectivedate (#PCDATA)>
<!ELEMENT approvedby (#PCDATA)>
<!ELEMENT checkedby (#PCDATA)>
<!ELEMENT issuedby (#PCDATA)>
<!ELEMENT distribution (addressee+)>
<!ELEMENT addressee (#PCDATA)>
<!ATTLIST addressee type (TO|CC) #REQUIRED >
<!ELEMENT eeabstract (#PCDATA)> <!-- how to add existing docbook
classes here e.g (para.class) here ????? -->
]]>
]]>
<!-- eedocstate -->
<!ENTITY % eedocstate.module "INCLUDE">
<![%eedocstate.module;[
<!ENTITY % eedocstate.element "INCLUDE">
<![%eedocstate.element;[
<!ELEMENT eedocstate (#PCDATA)> <!-- how to add existing docbook
classes here e.g (para.class) here ?????-->
]]>
]]>

<!ENTITY % local.info.class "|eefrontpage|eedocstate">
<!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"J:\etccom\_work_rolfk\_cdGeneral\_xml\_docbook\DT D4.4\docbookx.dtd">
%DocBookDTD;

Jul 23 '05 #1
0 963

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Dr. Laurence Leff | last post: by
2 posts views Thread by Simon Strandgaard | last post: by
1 post views Thread by Carlo | last post: by
3 posts views Thread by ZJT | last post: by
3 posts views Thread by Stephan Kurpjuweit | last post: by
34 posts views Thread by Adam Hartshorne | last post: by
2 posts views Thread by Yarco | last post: by
3 posts views Thread by Michael Struck | last post: by
11 posts views Thread by paul.boparai | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.