IStructuredDocumentTag.removeSelfOnly method. Removes just this SDT node itself, but keeps the content of it inside the document tree.... let doc = new aw . Document ( base . myDir + "Structured...{ if ( sdt . getChildNodes ( aw . NodeType . Any , false ). count...