The <LastPublishedId> Element
Description
The information concerning your current request. Specifically, the <LastPublishedId> elements locate the latest nodes from the XML Request data structure. The path returned will always be a valid XPath expression, you can use for your request message to locate and update the requesting nodes.
<LastPublishedId
path =
xpath expression
value =
string />
Attributes
Attribute name | Data type | Description |
---|---|---|
path | xpath expression | The XPath expression identifying the request node or attribute that has to be updated. Does not include the root node <TBMDataRequest>. |
value | string | The new value. Last id's are usually integers. |
Number of occurences
UnlimitedOccurs within
<MetaData>Can contain
None (element is closed).Example
The XPath/value pair<LastPublishedId path="News/Agency[@id='Betten']/@last-article-id" value="7631"/>Can be used in a script using the XML DOM as
XPath = LastIdNode.getAttribute("path") value = LastIdNode.getAttribute("value") RequestDOM.selectSingleNode("/TBMDataRequest/" & XPath).text = value