Altova XMLSpy 2024 Enterprise Edition

Property: LastXMLData as XMLData



Set or get the last XMLData element in the underlying document that is partially or completely selected by the range. The exact end of the selection is defined by the LastXMLDataOffset attribute.


Whenever you set LastXMLData to a new data object, LastXMLDataOffset gets set to the last cursor position inside this element. Only XMLData objects that have a cursor position may be used. If you set LastXMLData / LastXMLDataOffset, select a position less then the current FirstXMLData / FirstXMLDataOffset, the latter gets moved to the new end position.


HINT: You can use the FirstXMLData and LastXMLData properties to directly access and manipulate the underlying XML document in those cases, where the methods available with the AuthenticRange object are not sufficient.




The authentic range object, or its related view object is not valid.


Invalid address for the return parameter was specified.


Internal error


The XMLData object cannot be accessed.

© 2018-2024 Altova GmbH