xsl-list
[Top] [All Lists]

How do you select all unique first-position characters?

2002-11-20 13:36:41

Assume the following XML:

<report-data>
        <person name="Anthony" />
        <person name="Amy" />
        <person name="Amy" />
        <person name="Jim" />
        <person name="Jason" />
</report-data>

What I know how to do already is select all unique person/name's
(ie.Anthony, Amy, Jim, Jason)

What I wish to find out is how do I select all unique first-position
characters for person/name? (ie. I would expect to get A,J from the
above XML)


Any help greatly appreciated!


TIA,
Shenan

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list