Extracting Unique values from same element

Questions about XML that are not covered by the other forums should go here.
mverho76
Posts: 2
Joined: Tue Jul 13, 2010 11:30 pm

Extracting Unique values from same element

Post by mverho76 » Tue Jul 13, 2010 11:48 pm

Hi,

I want to extract Unique values from one element name. How can i do this?

Here is some example code:

Code: Select all

<Houseproperties><PropertyData><OutdoorFurniture>Gartenmöbel und Grill</OutdoorFurniture></PropertyData></Houseproperties>
Thks!

mverho76
Posts: 2
Joined: Tue Jul 13, 2010 11:30 pm

Re: Extracting Unique values from same element

Post by mverho76 » Wed Jul 14, 2010 9:53 am

Never mind a found the solution by using this function:

distinct-values(//Houseproperties/PropertyData/OutdoorFurniture)

Post Reply