OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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:
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="reusefile.xml#xpointer(//table[@id='reuseID']/tgroup/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?



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]