1.1 --- a/XSLForms/Fields.py Mon Oct 31 23:55:51 2005 +0000
1.2 +++ b/XSLForms/Fields.py Mon Oct 31 23:56:40 2005 +0000
1.3 @@ -385,6 +385,16 @@
1.4
1.5 return self.documents
1.6
1.7 + def get_document(self, name):
1.8 +
1.9 + """
1.10 + Get the form data document with the given 'name' from the container,
1.11 + returning a DOM-style document object if such a document exists, or None
1.12 + if no such document can be found.
1.13 + """
1.14 +
1.15 + return self.documents.get(name)
1.16 +
1.17 def get_selectors(self):
1.18
1.19 """