llaconde Posted February 1, 2008 Share Posted February 1, 2008 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]/VALEURI 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 More sharing options...
llaconde Posted February 4, 2008 Author Share Posted February 4, 2008 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/@keyaction 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 More sharing options...
llaconde Posted February 5, 2008 Author Share Posted February 5, 2008 I didn't manage to get what I want with my xml file so does anyone knows another way to read an xml file and it is possible to create like 'sql requests' for an xml file?Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now