erum mirza

erum mirza

  • NA
  • 431
  • 0

xmla nd xquery

Oct 8 2010 3:54 AM
i have xml file
 
<?
xml version="1.0" encoding="utf-8" ?>
<
Event>
<
Events id="1" Venu="Venu1">
<
Name>Event1</Name>
<
Title>Title1</Title>

<
Date>2010/4/25</Date>
</
Events>
<
Events id="2">
<
Name>Event2</Name>
<
Title>Title2</Title>
<
Date>2010/4/5</Date>
</
Events>
<
Events id="3">
<
Name>Event3</Name>
<
Title>Title1</Title>
<
Date>2010/4/1</Date>
</
Events>
<
Events id="4">
<
Name>Event3</Name>
<
Title>Title1</Title>
<
Date>2010/4/11</Date>
</
Events>
<
Events id="5">
<
Name>Event3</Name>
<
Title>Title1</Title>
<
Date>2010/5/1</Date>
</
Events>
<
Events id="5">
<
Name>Event3</Name>
<
Title>Title1</Title>
<
Date>2010/5/11</Date>
</
Events>
</
Event>

 
i need tos elect event for example date in 2006 or 2007 using xquery any help

Answers (2)