tf:getInoId

Get ino:id for document element.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

tf:getInoId(node $document) => unsignedInt

Description

The function tf:getInoId is specific to Tamino. It takes a node as argument and returns the value of the public inoId of the document that the node is part of. It returns 0 if the node is not stored in Tamino.

Argument

$document

node

Example

  • Return the inoIds of all non-XML documents:

    declare namespace ino="http://namespaces.softwareag.com/tamino/response2"
    for $a in collection("ino:etc")/ino:nonXML
    return tf:getInoId($a)