I think this is the time to give my experience as well with XML::Twig and mirod. I too love XML::Twig
Six months back my boss assigned a tool for fresh development to convert XML file (inhouse DTD elements) to another XML file
(customer based element). In this project we have to handle many attributes processing, elements replacement etc. He planned to develop the tool in usual method, using regex. I suggested XML::Twig to my boss and he gave approval to proceed further.
Then I started using XML::Twig in my project. I developed the whole tool using XML::Twig and with less than 2% of regex. During development i asked many questions like 'ID' generation issue and 'ID' format in XML::Twig in SOPW and got help from monks and from mirod as well. In our company we are dealing fully with text processing and we use to develop many tools with 90% of regex. The disadvantage in using regex in our work is, text deletion use to happen if the regex is not good. After started using this module, we have avoided using regex wherever XML::Twig can be used efficiently and text deletion chance is very very low. Now we are developing 50% of our work using XML::Twig. I learned a lot from this module and always love to use this in my projects.
I take this moment to convey my thanks to our monks and special thanks to mirod who helped me patiently (when i ask help through /msg) to complete my project successfully.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||