Defendore
Defendore

Reputation: 649

Conversion From XML to PLIST

I have a to convert some 1000 xml files from XML to PLIST format(such as <dict> and <arrays>. Is there already existing tool/application or algorithm available?

Upvotes: 4

Views: 1496

Answers (3)

Alfons
Alfons

Reputation: 1845

Use an XSLT processor. C# has a nice API to do just that, but if you need to automate it on various platforms, use something portable like: xsltproc (which is available virtually everywhere), or SAXON XSLT (for XSL 2.0, but kind of a nuisance to use).

Upvotes: 0

miku
miku

Reputation: 188134

Do you want to convert from within C#? If this is not the case, there is a tool called plutil available since Mac OS X 10.2:

plutil -convert xml1 some_file.plist

plutil can be used to check the syntax of property list files, or convert a plist file from one format to another.

Upvotes: 0

Leniel Maccaferri
Leniel Maccaferri

Reputation: 102438

What about this one?

http://iappcat.com/plist/bin2xml

Upvotes: 2

Related Questions