This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to perse the whole source document


Hi Mo,

> I've tried the templates but it did not quite work properly. For
> each <sid> in the resulting xml, the xsl produces the result only
> for the first <para> group for the source xml.

Sorry - my mistake.  In the para-matching template use:

  not(preceding-sibling::para[1]/@name = $as)

rather than:

  preceding-sibling::para[1]/@name != $as

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]