Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with Hierarchical XML Data
Message
De
20/12/2006 14:02:35
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
20/12/2006 11:53:50
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
VB.NET 1.1
Divers
Thread ID:
01178848
Message ID:
01179301
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>Hey Viv,
>Another question relating to this XML file. I am looking at the XPATH string you are using to filter the returned nodes, and I was wondering if there way to filter the dates to dates that are less than today. I have been trying to use this string for the XPATH:
>
>"//G_NEW_DATE[NEW_DATE<'12-10-2006']/BID_CURVE_DATE"
>
>
>but it doesn't seem to find any record. The only thing I can think of is that the xml file can't tell that the field is a date, and therefore can't do a comparison.

Mike,

You are correct. The 'data' is all text. It is unfortunate that the source xml dates were not written in a sortable format. If you want to, you can create a stylesheet to transform the text of the date nodes into a YYYYMMDD format.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform