|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Iterative XML Handling
Mike,
I am concerned about performance, although we are a bit away from performance
testing. How much of a hit do you think that this could be? (Using IE5) The
reason for the detailed addressing is that certain elements (addresses, address)
appear in several contexts, and are handled differently each time.
I could limit the addressing to the necessary - I had been exhaustive up to this
point to ensure consistency.
Anthony Behan
Michael.Kay@xxxxxxx on 07/10/99 10:56:28
Please respond to xsl-list@xxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxx
cc: (bcc: Anthony Behan/Net)
Subject: RE: Iterative XML Handling
> <xsl:template match="invoices/invoice/header/addresses/address">
> <xsl:apply-templates select type="Billing"/>
> </xsl:template>
>
> However, I only wish addresses to appear that are Billing
> addresses
>
Then use:
<xsl:template
match="invoices/invoice/header/addresses/address[type='Billing']">
...
</xsl:template>
(Do you really need to name all the ancestors? It will only slow down the
pattern matching...)
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








