Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Removing XML comments with regex

by GrandFather (Saint)
on Oct 24, 2007 at 20:28 UTC ( [id://647004]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    $twig->parse ($xml);
    $twig->print ();
    
  2. or download this
    <?xml version="1.0" encoding="UTF-8"?>
    <Node_A>
    ...
        <Node_C></Node_C>
      </Node_B>
    </Node_A>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://647004]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found