Re: [xsl] how can i get a sub-tree(between two chapter)

Subject: Re: [xsl] how can i get a sub-tree(between two chapter)
From: abbouh <abbouh@xxxxxxxxxxxxxxxxx>
Date: Wed, 25 Jun 2003 11:10:40 +0000
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


Current Thread