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

RE: Confused by xsl:for-each

Subject: RE: Confused by xsl:for-each
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Thu, 25 Nov 2004 13:40:37 +0000
RE:  Confused by xsl:for-each
From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE:  Confused by xsl:for-each
Date: Thu, 25 Nov 2004 14:36:37 +0100

Hi,

Although you say this should work, it does not. The select="//a" seems
not to work.
When I write

<xsl:value-of select="number(.)"/> I get 1 for one td
BUT <xsl:value-of select="number(//a) I get 0, although there are two
<a..> inside <td>.

Whats wrong here.

Are you sure there are no namespaces lying about?

On a separate note it would be more effficient to select td/a or ./a or descendant::a.

--

Joe

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.