[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: searching for occurrences of unique string-value a
Julie,
At 10:40 AM 6/11/2008, you wrote: >Assuming the context node is an element, that means all attributes of >the element. Otherwise it means zero nodes (as only elements have >attributes). As it happens, the template <xsl:template match="@*|node()"> <xsl:apply-templates select="@*|node()"/> </xsl:template> does almost the same thing as XSLT's built-in templates, which are used whenever a node is matched for which you have not provided a template. (It doesn't do exactly the same thing, but it has the same result. The built-in templates do not select attributes for processing, but if they are selected, their values get written. With this template, they are selected and matched, but their values never get written.) So generally speaking, you can remove this template and get the same output. Cheers, Wendell
|
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
|