Include the same document with different userlevel set

Juri Memmert <[email protected]>
Newsgroups gmane.text.docbook.apps
Organization JPMDesign
Message-ID <[email protected]>
Hi,

I would like to include the same table (which is its own
document) twice in my document, once with the userlevel set to
beginner and once set to advanced.

In pseudo XML:

<article>

bla

<xi:include table with userlevel="beginner" />

bla

<xi:include same table with userlevel="advanced" />

bla

</article>

The table contains rows I want to show in both cases, some only
in the beginners chapter and additional information to be shown
only in the advanced chapter, but I want to edit the different
levels together in one document for ease of content creation.

Doing it externally with ant, for instance, is easy, but I wonder
whether it can be done directly in docbook.

Thank you in advance,

Juri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.