Brown-University-Library/bdrxml — pull request #2 by birkin (2012-08-22 18:12:16+00:00)
Title: added content_list (NodeListField) attribute to InlineRelsInt()

Allows syntax like:

>>> iri = InlineRelsInt()
>>> ri = RelsInt()
>>> ri.about = u'aaa'
>>> ri.download_filename = u'bbb'
>>> version.content_list.append( ri )
>>> ri2 = RelsInt()
>>> ri2.about = u'ccc'
>>> ri2.download_filename = u'ddd'
>>> iri.content_list.append( ri2 )

...resulting in multiple rdf:RDF entries like:

...

...