setContextNodeIdToChildOfContextNodeIdMatchingDitaClass

Type: Transform step

Deprecated!

Use inline XPath instead: "x__$data('contextNode')/child::*[fonto:dita-class('xxx')]"

Example:

JSON

"do-something": {
  "label": "Do Something",
   "steps": [
     {
       "type": "transform/setContextNodeIdToChildOfContextNodeIdMatchingDitaClass",
       "data": {
         "childDitaTypes": ["task/taskbody"]
       }
     }
   ]
}

Imported operation data

  1. childDitaTypes

    Type: Array<String> | String

  2. contextNodeId

    Type: NodeId