xml.UnexpandedEntityReferenceInformationItem

The xml.UnexpandedEntityReferenceInformationItem class represents an unexpanded XML entity reference and exposes the properties of the Unexpanded Entity Reference Information Item.

Base class: xml.InformationItem

class xml.UnexpandedEntityReferenceInformationItem

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xml.InformationItem.document

Returns an xml.Document object representing the XML instance file containing this information item.

xml.InformationItem.first_child

Returns an xml.InformationItem object representing the first child information item. Returns None if this information item does not have any children.

xml.UnexpandedEntityReferenceInformationItem.name

Returns the name of the entity.

xml.InformationItem.next

Returns an xml.InformationItem object representing the next sibling information item. Returns None if there is no next sibling information item.

xml.UnexpandedEntityReferenceInformationItem.parent

Returns the xml.ElementInformationItem which contains this xml.UnexpandedEntityReferenceInformationItem in its children property.

xml.InformationItem.prev

Returns an xml.InformationItem object representing the previous sibling information item. Returns None if there is no previous sibling information item.

Methods

xml.InformationItem.xlocation_url(item_value=False)

Returns proprietary Altova URL to this Item. If item_value is True the URL references the value content of an Element or Attribute item (is ignored for other kinds).

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__