Jump to content
We've recently updated our Privacy Statement, available here ×

problem reading xml


llaconde

Recommended Posts

Hello everybody,

I need help to read value in xml file. My file is like this:

<DOMAINE keyType="integer" nom="ACTION">

<VALEUR key="31">ABC</VALEUR>

<VALEUR key="32">DEF</VALEUR>

</DOMAINE>

I managed to do the connection. I defined the path correctly: /DOMAINES/DOMAINE[@nom=ACTION]/VALEUR

I manage to read the key using a field (description is @key) and I would like to read the 'ABC' and 'DEF' but when i put a field with description valeur, that's not working.

Please help...

 

Thank you in advance.

LL.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I saw someone else got the same problem as me.

Does anyone can help us?

 

I tries something else:

path=/DOMAINES/DOMAINE[@nom=ACTION]

 

key variable=VALEUR/@key

action variable=*

 

This works but it only display the first one. What do I have to do to display all my "VALEUR"?

Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...