Adding attribute to Docbook?

C

Carlo

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
dbpoolx.mod:

<!ENTITY % local.common.attrib "">

to

<!ENTITY % local.common.attrib
"newatt CDATA #IMPLIED">

....It seems to work once, but when I add the same lines to make a
second attribute like "newatt2" it doesn't work. Also, are there any
other portions of the .mod file I need to change when adding this
code? Is there a better way of adding common attributes?

Thanks a million for anyone that can help with this,

Carlo
 
D

Dean Tiegs

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
dbpoolx.mod:

<!ENTITY % local.common.attrib "">

to

<!ENTITY % local.common.attrib
"newatt CDATA #IMPLIED">

...It seems to work once, but when I add the same lines to make a
second attribute like "newatt2" it doesn't work. Also, are there
any other portions of the .mod file I need to change when adding
this code? Is there a better way of adding common attributes?

If you're doing this:

<!ENTITY % local.common.attrib
"newatt CDATA #IMPLIED">
<!ENTITY % local.common.attrib
"newatt2 CDATA #IMPLIED">

that won't work. Only the first declaration of an entity has effect;
any other declarations of the same entity are ignored.

Try this:

<!ENTITY % local.common.attrib
"newatt CDATA #IMPLIED
newatt2 CDATA #IMPLIED">
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top