...
Code Block | ||
---|---|---|
| ||
this.Save(' for $risk in //Risk ' + ' where $risk/Action = 'C' ' + ' return ' + ' copy $input := $risk ' + ' modify ( ' + ' delete node $input/Tasks, ' + ' delete nodes $input/Comments[State], ' + ' insert node <Group>{ $risk/ancestor::Group/Name }</Group> into $input ' + ' ) ' + ' return $input '); |
See Also
- XPath+and+XQuery