[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How can I checking whether any one of my inter tab

Subject: Re: How can I checking whether any one of my inter table contain bor der attribute
From: Kenneth Stephen <marvin.the.cynical.robot@xxxxxxxxx>
Date: Thu, 23 Sep 2004 09:03:37 -0500
inter tab
On Thu, 23 Sep 2004 17:25:31 +0530, Eldho George <georgee@xxxxxxxxxxx> wrote:
> How can I checking whether any one of my  inter table contain border
> attribute and I want to retrieve that value
> 
> I tried the following template .But it is not working
> <xsl:if test="ancestor::table/@border">
> </xsl:if>
> Please tell me how can I solve this problem

George,

    Whats an "inter table"?

    The code that you've shown isnt a template but an if statement
that can occur within a template. If your objective is to check for
any occurrences of the border attribute for any table element
occurring within the document, then your XPath expression needs to be
"//table[count(@border) = 1]"

Regards,
Kenneth

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.