xml spy
Previous  Top  Next
XMLSpyDocumentEditor.CreateChild

See also

Declaration: CreateChild(nKind as SPYXMLDataKind) as XMLData

Return Value
New XML node

Description

The CreateChild method is used to create new nodes which you can insert into the XML structure of the current document using the XMLData interface.

The values for the nKind parameter are as follows:

   spyXMLDataXMLDocStruct      = 0
   spyXMLDataXMLEntityDocStruct      = 1
   spyXMLDataDTDDocStruct      = 2
   spyXMLDataXML         = 3
   spyXMLDataElement         = 4
   spyXMLDataAttr            = 5
   spyXMLDataText         = 6
   spyXMLDataCData         = 7
   spyXMLDataComment         = 8
   spyXMLDataPI            = 9
   spyXMLDataDefDoctype         = 10
   spyXMLDataDefExternalID      = 11
   spyXMLDataDefElement         = 12
   spyXMLDataDefAttlist         = 13
   spyXMLDataDefEntity         = 14
   spyXMLDataDefNotation         = 15
   spyXMLDataKindsCount         = 16

See also XMLData.AppendChild and XMLData.InsertChild


Previous  Top  Next

© 2002 Altova