XQuery Distinct XML tag

aLex_67

New Member
I am trying create a XQuery to generate a following details of the xml tag used with the no. of occurrenceBook- 3 occurrenceArticle-2 occurrenceconference - 1 occurrenceIs this possible? i've been trying but it does not work\[code\]<test> <book> <year>1992</year> .... </book> <article> <year>1992</year> .... </article> <conference> <year>1992</year> .... </conference> <article> <year>1992</year> .... </article> <book> <year>1992</year> .... </book> <book> <year>1992</year> .... </book></test>\[/code\]
 
Back
Top