This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] DTD customizations for XIncludes: How to add XIncludes support for row in tbody?


I try to adapt the dtd based on http://www.sagehill.net/docbookxsl/ValidXinclude.html.

I'am a small scale docbook user with an xsl customization layer but I have no experience customizing the dtd.

I'm responsible for the publishing proces and my writers are reusing rows in different tables. 

I got the publishing proces to work based on:
<tbody>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="reusefile.xml#xpointer(//table[@id='reuseID']/tgroup/tbody/*)" />
<row>
...
</row>
</tbody>

Is there a "right" or better way to reuse row-level information?

But I do this in an ugly way by preprocessing the content file with ant and regular expressions. <row role="reuse">reuseID</row>
This preprocessing-step I would like te eliminate.


So what I think needs to be done is to change the dtd so that an editor accepts and proposes the xi:include within tbody.

The problem I have is that I do not find a parameter entity like "local.tbody. .." that I can overrule.

In what direction should I look for a solution?

Thanks,

Paul


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]