TwelvestoneBack End

XPath Help


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
elad
 
2009-07-27

Hello:

I'm looking for some resources on asp.net and using xPath to filter xml results.

I'm trying to figure out a way of displaying a set of xml nodes that have a dateTime value that falls into a certain range.

Here's a snippet of the xml file

07/20/2009 11:00:00 Title Goes Here Rating Goes Here All work and no play makes Jack a dull boy...

The doesn't come to me in a standardized format like yyyy-mm-ddThh:mm:ss which appears to be the biggest hurdle in parsing out the correct info.

If anyone can point me in the right direction it would be greatly appreciated.

Regards.

poliguin
 
2009-07-27

funny you have this issue, have a third party working in .net that is complaining that we're sending dates to them in that format (standardized UTC)

depending on language:http://msdn.microsoft.com/en-us/library/ms973825.aspx (ie, pass the string into a date.parse(string).ToUniversalTime() sort of deal)

hope that is what you're looking for.

elad
 
2009-07-28

Thanks for the link. Gave me the idea to change the date to a xsl friendly format.

XPath String Functions

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneBack End

XPath Help