XML formatter in ASObjC

(Andreas Kiel) #1

I had to realize that the Satimage XMLLib is not working anymore :frowning:
So I’ve to use ASobjC.
One of the things I’m missing there is the equivalent to ‘XMLSetIndentString’ and ‘XMLDisplayXML’ for a formatted text representation.
My internet connection is really slow at the moment so searching there seems to be pretty useless.
Maybe somebody here has an idea.

(Shane Stanley) #2

Could this be what you’re looking for:

theXMLDocument's XMLStringWithOptions:(current application's NSXMLNodePrettyPrint)

(Andreas Kiel) #3

Thanks Shane,

While I think it’s not that PrettyPrint I used to have it seems to be the closest I can get now.