You need to apply this code:
http://www.topxml.com/code/default.asp?p=3&id=v20010323001030
to all leaf nodes in the tree.
--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
On 10/3/06, LINKE Markus <markus(_dot_)linke(_at_)linke(_dot_)de> wrote:
this might be the better audience ...
----- LINKE Markus <markus(_dot_)linke(_at_)linke(_dot_)de> wrote:
> Hi,
>
> I am not sure if this is the right list for such a question, but lets
> try :)
>
> I would like to create a list of xpaths via xsl from a given
> xml-structure like this:
>
> <a>
> <b>
> <c>
> content
> </c>
> <d>
> morecontent
> </d>
> </b>
> </a>
>
> it should show the full xpath like
>
> a/b/c ====> content
> a/b/d ====> morecontent
>
> and not just
>
> c => content
> d => morecontent
>
> Ideas anyone? I am looking for either a script or some xsl ...
>
> Cheers,
> Markus
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--