|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: XML / regex - cleaning up attributesby TomDLux (Vicar) |
| on Oct 04, 2010 at 03:51 UTC ( #863239=note: print w/ replies, xml ) | Need Help?? |
|
Your XML module probably contains a routine for reformatting strings to handle special characters. Run your path through that ... in fact, run all your string values through that, since you have no idea when someone will use "can't" or some other 'forbidden' character. As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||