[TOC] [Prev] [Next] [Bottom]

<@DOMDELETE>

Syntax

<@DOMDELETE OBJECT=variable [SCOPE=scope] [ELEMENT=Xpointer]>

Description

This tag is used to delete XML from a document instance. The OBJECT attribute (and optional SCOPE attribute) defines the variable which contains the document instance. The ELEMENT attribute points to the element in the document instance to be deleted.

For more information on the use of <@DOM...> meta tags, see Chapter 9 of the User's Guide.

Example

Starting with the following document instance in a variable called myDom:

<XML>
<DIV>
<P>Paragraph 1</P>
<P>Paragraph 2</P>
</DIV>
</XML>

<@DOMDELETE OBJECT="myDom" ELEMENT="child(1).child(2)"> deletes part of the XML and results in the following structure in the myDom variable:

<XML>
<DIV>
<P>Paragraph 1</P>
</DIV>
</XML>

See Also

<@DOM>
<@DOMINSERT>
<@DOMREPLACE>
<@ELEMENTATTRIBUTE>
<@ELEMENTATTRIBUTES>
<@ELEMENTNAME>
<@ELEMENTVALUE>



[TOC] [Prev] [Next] [Bottom]

docs@pervasive.com
Copyright © 1999, Pervasive Software. All rights reserved.