[XML-SIG] DOCTYPEs question with 4DOM
Thomas B. Passin
tpassin at comcast.net
Thu Jul 8 04:27:20 CEST 2004
Derek Fountain wrote:
> If you didn't serialize anything, how are you seeing
> the system and public IDs?
>
Simple - from DocumentType.py -
class DocumentType(FtNode):
nodeType = Node.DOCUMENT_TYPE_NODE
def __init__(self, name, entities, notations, publicId, systemId):
FtNode.__init__(self, None)
self.__dict__['__nodeName'] = name
self._entities = entities
self._notations = notations
self._publicId = publicId
self._systemId = systemId
I just checked the _publicId and _systemId attributes of the instances I
had created. At least I know they started out in life as intended.
Cheers,
Tom P
--
Thomas B. Passin
Explorer's Guide to the Semantic Web (Manning Books)
http://www.manning.com/catalog/view.php?book=passin
More information about the XML-SIG
mailing list