• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSXMLDocument pretty printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXMLDocument pretty printing


  • Subject: Re: NSXMLDocument pretty printing
  • From: Mike Abdullah <email@hidden>
  • Date: Mon, 5 Feb 2007 22:26:16 +0000

-XMLStringWithOptions: NSXMLNodePrettyPrint;

Mike.

On 5 Feb 2007, at 22:23, Pierre Bernard wrote:

Hi!

Is there a way to make NSXMLDocument spit out a pretty printed file/ string: new lines after tags, hopefully some indentation ?

The odd thing is that I start out with a pretty printed file. Read it in. Make a couple of changes. Out comes this one long line of unreadable XML.

Thanks in advance for your suggestions.

Pierre

---
Pierre Bernard
http://www.bernard-web.com/pierre
http://www.houdah.com



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40mikeabdullah.net


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSXMLDocument pretty printing
      • From: Pierre Bernard <email@hidden>
References: 
 >NSXMLDocument pretty printing (From: Pierre Bernard <email@hidden>)

  • Prev by Date: NSXMLDocument pretty printing
  • Next by Date: Re: CoreData/Bindings: Managed objects don't get finally deleted
  • Previous by thread: NSXMLDocument pretty printing
  • Next by thread: Re: NSXMLDocument pretty printing
  • Index(es):
    • Date
    • Thread