i am fairly certain that you cannot use attributes that have leading digits.
Too right you can't. Here's the dope: XML datatypes courtesy of www.w3.org. Specifically, what we are looking at are NCNames (non-colonized names).
No, nothing to do with colonial imperialism, just the fact that the names don't have colons (:) in them, i.e. what happens whe XML namespaces are taken into account. And even then you can't have leading digits.
The easiest way forward at this point would be to prefix the digital attributes with an underscore, that's legal (and Perl will treat _ as a no-op when lexing numbers, which in my books counts as a bonus).
- another intruder with the mooring of the heat of the Perl
In reply to Re^2: writing hashes with XML::Simple (legal XML attribute names)
by grinder
in thread writing hashes with XML::Simple
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |