Link to home
Start Free TrialLog in
Avatar of adiemeer
adiemeer

asked on

Xpath for list of names of first children nodes

Hello,

see attached an example file. I am looking for a XPath query that returns the names of the first children of the root node. So based on my example I want as a result of the XPath expression:

person
name
address

Anyone an idea?

Regards,

Arne
Avatar of BigRat
BigRat
Flag of France image

What example file?
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of adiemeer
adiemeer

ASKER

Hi Geert,

Thanks for the response. I did forget to attach my example. I now use Xpath 1.0, with XSLT to solve the problem.

Regards Arne
Thanks