|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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








