DTD customizations for XIncludes: How to add XIncludes support for row in tbody?

From
Stubbe Paul <>
Date
2003-07-08T15:26:49+00:00
ID
Thread
DTD customizations for XIncludes: How to add XIncludes support for row in tbody?
Hi,

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. This is what the writers write: <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