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

How to select specific nodes using xsl:template match

Subject: How to select specific nodes using xsl:template match or similar?
From: Bhaskar <bhaskarji@xxxxxxxxxxx>
Date: Mon, 11 Jun 2007 14:17:09 +0000
 How to select specific nodes using xsl:template match
Hi,

Here's is a snippet of an XML I have:





















My objective is to choose all first-level data nodes (i.e, nodes with names
20050102, 20050103 & 20050104 above) within a specified range of dates. In
other words, what is the best way to, say, choose only the nodes whose
name-value is between 20050102 and 20050103 (both inclusive). I want to be
able to choose such nodes at the top-level WITHOUT using a for-each loop. That
is, I don't want to do something like this because here I am running through
all nodes that meet my condition as opposed to just selecting all such nodes
in one query:

  20050102
  20050103









Hope I am clear. Any help/idea is much appreciated.

Thanks,
Bhaskar



_________________________________________________________________
Palate Teasers: Straight from Master Chef!
http://content.msn.co.in/Lifestyle/Moreonlifestyle/LifestylePT_101106_1530.ht
m

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.