Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Generating elements with attributes and contents using XML::Smart

by gmpassos (Priest)
on Aug 19, 2004 at 13:19 UTC ( [id://384276]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      use XML::Smart ;
      
    ...
      $xml->{phone}{type} = 'home' ;
    
      print $xml->data ;
    
  2. or download this
    <?xml version="1.0" encoding="iso-8859-1" ?>
    <?meta name="GENERATOR" content="XML::Smart/1.6.8 Perl/5.006001 [MSWin
    +32]" ?>
    <phone type="home">555-1234</phone>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-19 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found