Nyquist Art + Logic
A little info for artists and programmers.
Sunday, September 24, 2006
Select distinct in XSLT
Hard to believe, but there is no equivalent in XSLT to the
SQL command. After doing some research, I came across a technique for getting distinct data called the "Muenchian Technique". Here is an example I made based on this method.
I threw the weight in to show that you are getting the first Clumber. Leaving that out would result in a list of all the distinct breeds in the dogs.xml file.
Another cool find was this
function in XSLT.
Post Comments (Atom)