You can do it using the xpointer scheme of the
xpointer attribute. But only xsltproc supports the xpointer scheme, so you
must use xsltproc.
You can wrap a set of sections in an arbitrary root
tag such as <wrapper> in your file. Then use something like
this:
<xi:include href="sections.xml"
xpointer="xpointer(/wrapper/*)" ...
The wrapper tag won't be included.
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From:
Hinrich Aue
To:
Sent: Thursday, August 23, 2007 5:34
AM
Subject: [docbook-apps] collection of
docbook tags
Hello
group,
is there a way in docbook to
encapsulate other tags into a tag that has no structural
meaning?
The problem we are having is that
we want to have several sections in an xml file, and xinclude it into another
file.
Thanks,
Hinrich