[Top] [All Lists]

Re: [xsl] Using for-each-group out of word.xml

2011-08-02 03:40:55
       a. Matching any paragraphstyle (w:p/w:pPr/w:pStyle/@w:val) that
begins with 'Feature'
       b. wrapping those lines in an element <_Anchored Feature>,

So, I'm wondering if for-each-group will work for this. Perhaps a

Do you want each <w:pStyle> with @w:val that starts with 'Feature'
wrapped in a new element, or the contents of all of them wrapped in a
single new element?

If it's the former, then just a normal identity transform will do, and
for the latter then it's for-each-group.  If you had provided the
required output for your sample input then it wouldve been clear.

Also, <_Anchored Feature> is not a legal name.

       c. matching the first line styled FeatureType, deleting it and adding
a graphic based on it's value.

This is done using a specific template along with the indentity template.

Andrew Welch

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>

<Prev in Thread] Current Thread [Next in Thread>