How to get createDitaUrlFromLoadedTarget

Depend on fontoxml-dita to make this transform available.

Set the url property on the stepData to a dita url of a loaded target.

Creating a DITA URL requires a referrer document ID (to ensure that links within the same document only include the fragment). This can be specified as either a DocumentId referrerDocumentId or a NodeId contextNodeId. If neither is provided, the current focused document is used as the referrer.

Imported operation data

Name Type Description
targetDocumentId DocumentId
targetNodeId NodeId

Exported operation data

Name Type Description
url String