This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

semi-easy question

 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This will seem really simple to most of you--I just want to make sure I'm doing this right. I'm sending customers a simple XML notification of shipments, and currently it looks like this:

I would like to give customers the ability to pull their shipment history for a particular date or date range, and if I group all the shipments for a given date within that date, I'm wondering how you specify the date's value--is it like this:

Something seems a little bit wrong with the date and datevalue...
Thanks!
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something like this ??


Or

does it make sense ??
 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I guess that should be ok. It's just that I've read that sometimes you might not want to have data in an attribute (like having the date value be an attribute of the date tag), so I wasn't sure how to handle it otherwise. But if that's pretty typical, I guess I could use it. I suppose another way I could do it would be like this:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic