O'Reilly logo

DB2 by Pav Kumar-Chatterjee, Matthias Nicola

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Updating and Transforming XML Documents

This chapter describes techniques to update and transform XML documents. DB2 pureXML supports three general techniques for modifying XML documents:

• Full document replacement, which allows an application to replace an existing XML document with an updated document. It is up to the application to provide the new document. For DB2, this is a full-document operation. See section 12.1.

• The XQuery Update Facility, which is a standardized extension to XQuery that allows you to modify, insert, or delete individual elements and attributes within an XML document. Such updates are also known as subdocument level updates, node-level updates, or partial document updates. See sections 12.2

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required