I need to get the node number of an entry but I only have the LOG_ID. How find that number out?
<LOG>
<ENTRY LOG_ID="01042012"/>
<ENTRY LOG_ID="03052012"/>
<ENTRY LOG_ID="09052012"/>
</LOG>
Thanks. Uli
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use E4X processing as described here and the getting started documentation:
You can also store a reference to this node in an
XMLobject:Note: The
childindexfunction (and a few others) work on individual nodes. However, if your input example has multiple nodes with the same attribute value you’re using to retrieve you will get a list of nodes (i.e. anXMLList) instead of a single node. Now, in order to find out the indices of such children you will need to do the following:You can always check if your E4X query returned a list via the following: