[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Iterative XML Handling

Subject: RE: Iterative XML Handling
From: Anthony.Behan@xxxxxxxxxxxxxxx
Date: Thu, 7 Oct 1999 14:12:15 +0100
anthony behan

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.