![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
HTML::TreeBuilder, HTML::Element, as_XML()by AlexTape (Monk) |
on May 23, 2013 at 10:35 UTC ( [id://1034929]=perlquestion: print w/replies, xml ) | Need Help?? |
AlexTape has asked for the wisdom of the Perl Monks concerning the following question:
Dear omniscient monks, i got some html/tei like data and want to parse it to xml format. it is working pretty well for some files.. but not for all.. here is my code:
i substite all 'n' in the file.. but got still the same error. for that the 'n' is not the anchor of this error.. i dont know what going on here?! is okey.. it is all about the ->as_XML() :-(( kindly, perlig
$perlig =~ s/pec/cep/g if 'errors expected';
Back to
Seekers of Perl Wisdom
|
|