R
Ryan Adler
I have a terrible headache from this problem. Perhaps someone can
help. My XML is formatted like this:
<events>
<event>
<starts-at>123456<starts-at/>
<event>
...
<events/>
The problem is, the starts-at field is actually a date-time, and I want
to get all events that have the same _time_, but could have different
dates. This means I first have to convert the data in that field, and
then compare it. I already have a template to convert the data to the
format I need, but how I can apply this template to all items, and then
get the items that have the same output? And how can I do this within
an XSLT page?
help. My XML is formatted like this:
<events>
<event>
<starts-at>123456<starts-at/>
<event>
...
<events/>
The problem is, the starts-at field is actually a date-time, and I want
to get all events that have the same _time_, but could have different
dates. This means I first have to convert the data in that field, and
then compare it. I already have a template to convert the data to the
format I need, but how I can apply this template to all items, and then
get the items that have the same output? And how can I do this within
an XSLT page?