[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Name of current node's parent?
> Hi, I am new to the list and XSL. In an XSLT stylesheet I am > currently > working on, I want to compare the name of the current note's > parent with a > string using <xsl:if>. If the name is known statically, use: <xsl:if test="parent::b"> Otherwise, use <xsl:if test="name(..)=$variable"> 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
|