Accepted way to add comments to plist (XML)?

emomaippits

New Member
Question says it all but given a typical plist in xml format:\[code\]<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>com.domain.app</string> ... </dict></plist>\[/code\]What's the accepted way to add comments?HTML style: \[code\]<!-- comment here -->\[/code\]Or maybe as it's own tag? \[code\]<comment>this is a comment</comment>\[/code\]
 
Back
Top