472,989 Members | 3,073 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,989 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

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

<!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">
<!ENTITY % eedocstate.element "INCLUDE">
<!ELEMENT eedocstate (#PCDATA)> <!-- how to add existing docbook
classes here e.g (para.class) here ?????-->

<!ENTITY % local.info.class "|eefrontpage|eedocstate">
"J:\etccom\_work_rolfk\_cdGeneral\_xml\_docbook\DT D4.4\docbookx.dtd">

Jul 23 '05 #1
0 1016

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Dr. Laurence Leff | last post by:
I am having trouble doing the basics with xmlto on Redhat to convert DocBook XML into the various files. I believe the problem is the first line on the files: Here is starter file (notes.xml):...
by: Simon Strandgaard | last post by:
I am trying to understand how to create a 'catalog.xml' file for my docbook-xml documents. If I understand correct a local catalog.xml file can both avoid hardcoding in makefiles (portability),...
by: Carlo | last post by:
I was wondering if someone could help me with this or point me to a good resource. I'm trying to add some attributes to docbook to be used later in effectivity. It was recommended I change the...
by: ZJT | last post by:
What are the ways and corresponding tools to transform a docbook document to a pdf document? Thanks a lot!
by: Stephan Kurpjuweit | last post by:
Hi! I am looking for a simplified Docbook XML schema. As far as I know, "Simplified Docbook" only exists as DTD, right? Could you please send me pointers or ideas that might be useful for me? ...
by: Adam Hartshorne | last post by:
Hi All, I have the following problem, and I would be extremely grateful if somebody would be kind enough to suggest an efficient solution to it. I create an instance of a Class A, and...
by: Yarco | last post by:
I'm learning for docbook under win32. I download: openjade-1_3_1-2-bin docbook-xml-4.4 docbook-dsssl-1.79 ldp.dsl And then copy all openjade bin\ to win32 system\, and then create a directory...
by: Michael Struck | last post by:
Hi, can anybody give me a source code example of docbook version 5 with a MathML formula and SVG image I don`t understand, how to include. By the way, anybody here using docbook ver5 wit...
by: paul.boparai | last post by:
Hi, I have an element that I would like to add to the docbook DTD. This element is a wrapper element that I would like to wrap all of the standard docbook elements. This element is called...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

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.