|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Making an FAQ page from XML
Kamal Bhatt wrote:
Sorry, let me be clearer. local-name should be local-name() Maybe it is noteworthy, maybe not. But the line <xsl:apply-templates select="*[local-name != 'faq']"/> says: all nodes that do not have a child that does not match 'faq'. I reckon, that this is always true, selecting all nodes relative to the context node. As a general hint when programming XSLT, when I suddenly find that nothing matches, or everything matches, I check for paths that are not meant to be paths but functions. Using local-name() instead, of course calls the function fn:local-name, like Kamal points out. -- Abel http://xslt.metacarpus.com
|
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
|






