Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: create XML element with namespace

by ramrod (Curate)
on Apr 02, 2009 at 18:31 UTC ( #755068=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #Open and parse XML
    open (my $input, "<xmlsample.xml")or die "Could not open xml input.";
    open (my $OutputXML, ">xmlsample.xml") or die "Could not write XML fil
    print $OutputXML $pdoc->toString();
    close ($OutputXML) or die "Could not close written XML file.";
  2. or download this
    <root xmlns="bazongNS">
  3. or download this
    <?xml version="1.0"?>
    <root xmlns="bazongNS">

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2016-10-26 02:57 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.