-
Notifications
You must be signed in to change notification settings - Fork 80
pyxar_API_xarfile_XarSubdoc
Will Barton edited this page Jan 15, 2007
·
4 revisions
This class represents a xar subdoc that is stored in the archive. It provides access to the XML, ability to extract to a file, and a convenience parser method.
Creates a XarSubdoc instance with the given name containing the given XML string. Instance creation is only useful when adding a subdoc to a xar archive.
Returns the subdoc as an XML string.
Write the XML string to a file by the given filename.
Parse the document's xml string using the given function. This assumes the function takes a single string argument.