[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: self::-equivalent for attributes
On 08/11/2010 11:48, Christian Roth wrote:
Hi,In 2.0: test=". instance of attribute(ns:par)" In 1.0: test="count(. | ../@ns:par) = 1" But in many cases it might be better to do <xsl:apply-templates select="." mode="x"/> with one template rule for match="@ns:par" and another for everything else. Michael Kay Saxonica
|
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
|