Re: [docbook-apps] collection of docbook tags

From
Bob Stayton <>
Date
2007-08-28T14:56:52+00:00
ID
004701c7e983$9ad1d960$6400a8c0@totoro
Thread
Re: [docbook-apps] collection of docbook tags
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