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
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 1016

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

Similar topics

3
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):...
2
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),...
1
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...
3
by: ZJT | last post by:
What are the ways and corresponding tools to transform a docbook document to a pdf document? Thanks a lot!
3
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? ...
34
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...
2
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...
3
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...
11
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...
0
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=()=>{
0
tracyyun
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...
2
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...
3
NeoPa
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...
0
isladogs
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...
0
NeoPa
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...
0
isladogs
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...
4
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...
3
SueHopson
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.