XML::Simple keyattr
am 08.06.2011 19:35:45 von Jeffrey Joh--_dec22495-4ccd-4f1c-9ce3-818a6f483e4d_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have an issue with XML::simple keyattr.
I have two XML files:
calif.xml
City>San Francisco
alifornia
texas.xml
Houston
When I use XML::Simple with the condition keyattr =3D> {result -> address -=
> 'homeid'} then the first XML is hashed by homeid but the second XML file =
simply loses the homeid altogether. I would like the key reference to exis=
t=2C whether one or more than one key exists in a given file. Can I force =
the keyattribute to be used?
=
--_dec22495-4ccd-4f1c-9ce3-818a6f483e4d_--