You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the death of me, I cannot come up with the correct syntax to aqcuire a List<Pair<String,String>> where one string is the attribute and another the value inside the tag. If I write something like list("q_code") then anything after it expects a child element and the attribute is lost and the list function does not appear to accept pairs. If this isn't possible, are there any other ways one might aqcuire both for an arbitrary number of these tags in some other usable format? Be aware that not all of these tags have the attribute and the relation between the attribute and the value is important, so something that returns a list of all the attribute values without the nulls in would not work. This is nested inside other tags that I can handle writing the code for, in case this matters.
The text was updated successfully, but these errors were encountered:
I have an XML file with numerous entries like so:
For the death of me, I cannot come up with the correct syntax to aqcuire a
List<Pair<String,String>>
where one string is the attribute and another the value inside the tag. If I write something likelist("q_code")
then anything after it expects a child element and the attribute is lost and the list function does not appear to accept pairs. If this isn't possible, are there any other ways one might aqcuire both for an arbitrary number of these tags in some other usable format? Be aware that not all of these tags have the attribute and the relation between the attribute and the value is important, so something that returns a list of all the attribute values without the nulls in would not work. This is nested inside other tags that I can handle writing the code for, in case this matters.The text was updated successfully, but these errors were encountered: