T
tamak
I am dabbling with xml and trying to learn to harness its power...
( should have been doing this years ago, admittedly!)
my xml file is structured like so...
<clientxyz>
<Events>
<EventListing ID="5829" Title="Excavating Egyptian Archaeology"></
EventListing>
<EventListing ID="7824" Title="Ladies Day on the Lake"></
EventListing>
<EventListing ID="7825" Title="A Taste of Newberry"></EventListing>
<EventListing ID="7826" Title="Brew At The Zoo"></EventListing>
<EventListing ID="7827" Title="Veterans Day"></EventListing>
</Events>
<EventSearch>
<FindEventID eID="5290">5290</FindEventID>
</EventSearch>
</clientxyz>
What Im trying to figure out in terms of XSLT filtering (using xsl:if,
if guess(???)) is how can I have a page loop through the <Events>
node and look for the 'match' of the <FindEventID>'s eID attribute?
(( or would this be easer if I had an <eID> node within the
<FindEventID> node?
basically Im looking for an example of what the structure of the xsl
if statement / line would look like.
( should have been doing this years ago, admittedly!)
my xml file is structured like so...
<clientxyz>
<Events>
<EventListing ID="5829" Title="Excavating Egyptian Archaeology"></
EventListing>
<EventListing ID="7824" Title="Ladies Day on the Lake"></
EventListing>
<EventListing ID="7825" Title="A Taste of Newberry"></EventListing>
<EventListing ID="7826" Title="Brew At The Zoo"></EventListing>
<EventListing ID="7827" Title="Veterans Day"></EventListing>
</Events>
<EventSearch>
<FindEventID eID="5290">5290</FindEventID>
</EventSearch>
</clientxyz>
What Im trying to figure out in terms of XSLT filtering (using xsl:if,
if guess(???)) is how can I have a page loop through the <Events>
node and look for the 'match' of the <FindEventID>'s eID attribute?
(( or would this be easer if I had an <eID> node within the
<FindEventID> node?
basically Im looking for an example of what the structure of the xsl
if statement / line would look like.