[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: how can i get a sub-tree(between two chapter)

Subject: RE: how can i get a sub-tree(between two chapter)
From: Jarno.Elovirta@xxxxxxxxx
Date: Wed, 25 Jun 2003 14:27:03 +0300
RE:  how can i get a sub-tree(between two chapter)
Hi,

...

> > and i want for each chapter get its length,so how can i get a
> > sub-tree(between two chapter) in this file like:
> >
> > -for chapter1:
> >
> > chap1
> >          |---ht
> >          |---(para|list|notesect)*
> >
> > -for chapter2:
> >
> >  |---chap2
> >              |---ht
> >              |---(para|list|notesect)*
> >
> > -for chapter3:
> >
> >  |---chap3
> >              |---ht
> >              |---(para|list|notesect)*

I have to admit I don't understand the notation you use above, or rather your question, but if you're trying to flatten the structure, see <http://www.dpawson.co.uk/xsl/sect2/flatten.html>. In the future, it might be easier for people if you showed your source document as a plain, stripped-down, XML document, or e.g. your RelaxNG schema instead of ASCII art hierarchy picture.

Cheers,

Jarno - VNV Nation: Honour 2003 <http://synthetic.org/play.html>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.