Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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]
[RonW]: Tunnel FTP through stunnel?
[james28909]: i guess i should have done it in perl. i bet it woulnt have taken me 5 hours to figure out haha
[choroba]: In the end, I was able to upgrade Perl from 5.8.3 to 5.22 and install Net::SFTP::Foreign , at least for the task involved
[james28909]: what would be the best way to capture that stream with perl? ffmpeg args -rtp rtp://
[LanX]: if I was forced to talk about all security risks I encountered oO
[james28909]: if i did that with ffmpeg, i could then listen on the port with perl right?
[LanX]: one of my clients filtered a menu linking to Web pages according to user rights. .. but he didn't secure the access to those unlisted pages

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2017-05-22 21:45 GMT
Find Nodes?
    Voting Booth?