The Artima Developer Community
Sponsored Link

Perl Buzz Forum
XML::DOM - The Declaration

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Cory Watson

Posts: 284
Nickname: gphat
Registered: Jun, 2005

Cory Watson is a Senior Developer for Magazines.com
XML::DOM - The Declaration Posted: Nov 9, 2005 3:15 PM
Reply to this message Reply

This post originated from an RSS feed registered with Perl Buzz by Cory Watson.
Original Post: XML::DOM - The Declaration
Feed Title: One Mo' Gin
Feed URL: http://www.onemogin.com/blog/feed
Feed Description: Thoughts on lots of things. Developer stuff mostly.
Latest Perl Buzz Posts
Latest Perl Buzz Posts by Cory Watson
Latest Posts From One Mo' Gin

Advertisement
Took me a little while to find this today, so I thought I’d mention it for future reference.To add a declaration to a document created with XML::DOM, do the following:  my $decl = $doc->createXMLDecl(‘1.0′, ‘UTF-8′); $doc->setXMLDecl($decl);Now the xml from the toString() will have a declaration! If only I could find something that would indent the XML…

Read: XML::DOM - The Declaration

Topic: [Feb 7, 2005 01:46 PST] 1 Links Previous Topic   Next Topic Topic: CSS Forms

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use