Let's say I have a xml-File structured like this
<_StoredUserInformation> <UserName> <WorkstationName> <SessionID> This_Session </SessionID> </WorkstationName> </UserName> </_StoredUserInformation>
And I want to store every value inside the xml Tags in my Variables, e.g. :
$UserName = <UserName> $SessionName = This_Session etc...
I Have tried doing it with ForceArray
from XML::Simple
, but I am having problems with sorting the keys afterwards. The KeyAttr
from XML::Simple
works appartely not with a Data Structure which is nested that much.
Any other suggestions how to solve this?
No comments:
Post a Comment