[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)
i make a typing error. so this is my xml file: docbody|---chap1 |---ht |---(para|list|notesect)* |---chap2 | |---ht | |---(para|list|notesect)* | |---chap3 | | |---ht |---(para|list|notesect)* | | | | ---chap3 | | |---ht |---(para|list|notesect)* | | | |---chap3 | | |---ht |---(para|list|notesect)* | |---chap2 |---ht |---(para|list|notesect)* |---chap3 | |---ht | |---(para|list|notesect)* | | ---chap3 | |---ht | |---(para|list|notesect)* | |---chap3 | |---ht | |---(para|list|notesect)* abbouh a écrit : > i have this structure in my input file: > > docbody|---chap1 > |---ht > |---(para|list|notesect)* > |---chap2 > | |---ht > | |---(para|list|notesect)* > | |---chap3 > | | |---ht > | | > |---(para|list|notesect)* > | | > | | ---chap3 > | | |---ht > | | > |---(para|list|notesect)* > | | > | |---chap3 > | | |---ht > | | > |---(para|list|notesect)* > | > |---chap2 > |---ht > |---(para|list|notesect)* > |---chap3 > | |---ht > | > |---(para|list|notesect)* > | > | ---chap3 > | |---ht > | > |---(para|list|notesect)* > | > |---chap3 > | |---ht > | > |---(para|list|notesect)* > > 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)* > > thanks. > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|