← Prev in month ← Prev in thread

xinclude-question

From
<>
Date
2007-11-21T10:30:51+00:00
ID
Thread
xinclude-question
Hello all,

 

I’ve got a
xinclude-question:

 

My document-structure looks
like this:

 

file.xml:

<section
id="A">

 
<title>A</title>

      

  <section
id="A1">

   
<title>A1</title>

</section>

 

  <section
id="A2">

   
<title>A2</title>

</section>

 

  <section
id="A3">

   
<title>A3</title>

 

   
<section id="A3.1">

     
<title>A3.1</title>

   
</section>

            

   
<section id="A3.2">

     
<title>A3.2</title>

   
</section>

            

   
<section id="A3.3">

     
<title>A3.3</title>

   
</section>

      

  </section>

 

</section>

 

Now I want to use this
document in an other document via a xinclude but without the 

<section id="A3.3">.

 

Any experiments like:

      <xi:include
href=""file.xml"

         
xpointer="xpointer(/descendant::section[@id!='A3.3'])"

         
xmlns:xi="http://www.w3.org/2001/XInclude"/>

 

doesn’t work, because the
<section id="A3"> ist completely included.

 

Any ideas how to include all
section exept the <section id="A3.3">?

 

Thank you in advance.

 

Robert
← Prev in month ← Prev in thread