Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

best practice for replacing XML comment text

by Lotus1 (Vicar)
on Mar 11, 2019 at 19:05 UTC ( [id://1231126]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            #Update the text in the comment.
            my ($first_comment) = $doc->findnodes("/comment()[1]");
    ...
            $Appname_node->removeChildNodes();
            $Appname_node->appendText($0);
    
  2. or download this
    
    use strict;
    ...
    1: xyz
    2: -123--456-
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found