IFClite TypeScript API
    Preparing search index...

    Class IDSAuthoringDocument

    One open IDS document. Every change goes through apply.

    Index
    • Validate, gate and apply a batch of ops. A refused batch changes nothing; errors says why, with candidates for each wrong name.

      Parameters

      • ops: readonly unknown[]

      Returns IDSAuthoringApplyResult

    • The XML path of a node id, e.g. specifications[0].requirements[1].baseName.

      Parameters

      • nodeId: string

      Returns string | undefined

    • Redo the last undone batch. Returns false when there is nothing to redo.

      Returns boolean

    • Undo the last accepted batch. Returns false when there is nothing to undo.

      Returns boolean

    • IDS 1.0 XML of the current document. Throws when the writer cannot carry a value without loss (the message names each one) rather than returning XML with less content.

      Returns string