|
QuiLogic Technologies Inc. |
In Memory SQL / XML Database Technology for Universal Data Management >> SQL/XML-IMDB << |
|
|||||
|
QuiLogic has designed and implemented an XQuery Update Extension based on the simple INSERT-UPDATE-DELETE semantics that is found by users of relational databases. This extension allows the manipulation of XML data in a declarative and very easy to use style, comparable to that found in the SQL manipulation language.
Deleting XML Elements
For $X in TX where DELETE $X/[path] or DELETE $X/@attribute
Rename XML Elements
For $X in TX where RENAME $X/[path] TO Name
Update XML Element Content
For $X in TX where REPLACE $X/[path]/text() WITH value
Update entire Nodes
For $X in TX where REPLACE $X/[path] WITH <> <> For $X in TX where REPLACE $X/[path] WITH $Y For $X in TX where REPLACE $X/[path] WITH (SQL/XML Query) . . .
Update Attribute
For $X/@attribute in TX where REPLACE $X WITH ATTRIBUT(name, value)
Insert new Data
For $X in TX where ... INSERT <> <> [INTO BEFORE AFTER] $X/[path] For $X in TX where ... INSERT (SQL/XML Query) [INTO BEFORE AFTER] $X/[path] |
|
||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
|
|||||||
|
© QuiLogic Inc. 2000 - 2009 |
|||||||