This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to perse the whole source document
- To: "Mohammed Rahman" <mrahman at planlinx dot com>
- Subject: Re: [xsl] How to perse the whole source document
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Wed, 30 May 2001 10:25:07 +0100
- CC: xsl-list at lists dot mulberrytech dot com
- Organization: Jeni Tennison Consulting Ltd
- References: <NFBBJGKGDKINFAFJALEOGEDHCAAA.mrahman@planlinx.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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