We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Identifying count of elments with distinct values

Yassar
Yassar asked
on
Medium Priority
331 Views
Last Modified: 2012-05-11
I am new to xlst. I am trying to convert attached XML into csv file. Can somebody kindly show me that how to get count of distinct values of an element. In the attached sample xml file, I need to get  count of distinct values of element bunHCID where ProductType is Data or ProductType is voice.
Aslo, kindly let me know, if I am doing something silly in attached xslt file :)

Thanks in advance.



Sample-File.XML
XSLTFile1.xslt.txt
Comment
Watch Question

Information Architect
CERTIFIED EXPERT
Top Expert 2006
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Gertone (Geert Bormans)Information Architect
CERTIFIED EXPERT
Top Expert 2006

Commented:
I based my solution on this approach
http://www.jenitennison.com/xslt/grouping/muenchian.xml

Author

Commented:
Thanks For your help
Gertone (Geert Bormans)Information Architect
CERTIFIED EXPERT
Top Expert 2006

Commented:
welcome
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.