[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
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
|
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
|