xsl-list
[Top] [All Lists]

Re: [xsl] change xslt processing order

2011-10-04 14:16:36
Brandon,

Thanks for your suggestion, but I do want to output the
DeliveryAddress and Consignment after a Parcel even if one parcel
follows another its just that I want output the DeliveryAddress and
Consignment after the last parcel in a group of parcels i.e.

Expected out:
JD0002210800004322
7255
044375530
JD0002210800004323
7256
044375531
JD0002210800004324
JD0002210800004325
7257
044375532

With the suggestion below I don't get any output for the
DeliveryAddress and Consignment for the last two parcels in the XML.

The "test" on the <xsl:if> would be
"not(following-sibling::*[1][self::Parcel])".  This would output the
DeliveryAddress and Consignment after a Parcel only if it was not
immediately followed by another Parcel.

JD0002210800004322
7255
 044375530
JD0002210800004323
7256
044375531
JD0002210800004324
JD0002210800004325

Thanks

Navin

--~------------------------------------------------------------------
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>