XML namespaces – PB Docs 105
XML namespaces XML namespaces provide a way to create globally unique names to distinguish between elements and attributes with the same name but of different terminologies. For example, in an XML invoice document for a bookstore, the name “date” could be used by accounting for the date of the order and by order fulfillment for…
About XML and PowerBuilder – PB Docs 105
About XML and PowerBuilder PowerBuilder provides several features that enable you to work with the Extensible Markup Language (XML). You can: Export the data in a DataWindow object to XML, and import data in an XML document or string into a DataWindow object Determine whether an XML document or string is well-formed or conforms to…
About PBDOM – PB Docs 105
About PBDOM PBDOM is the PowerBuilder implementation of the Document Object Model (DOM), a programming interface defining the means by which XML documents can be accessed and manipulated. Although PBDOM is not an implementation of the World Wide Web Consortium (W3C) DOM API, it is very similar. The PBDOM PowerBuilder API can be used for…
PBDOM object hierarchy – PB Docs 105
PBDOM object hierarchy The following figure shows the PBDOM object hierarchy: Figure 14-1: The PBDOM object hierarchy PBDOM_OBJECT and its descendants The base class for PBDOM objects that represent XML nodes, PBDOM_OBJECT, inherits from the PowerBuilder NonVisualObject class. Each of the node types is represented by a PBDOM class whose methods you use to access…
PBDOM node objects – PB Docs 105
PBDOM node objects This section describes the PBDOM_OBJECT class and all of the classes that descend from it: PBDOM_OBJECT PBDOM_DOCUMENT PBDOM_DOCTYPE PBDOM_ELEMENT PBDOM_ATTRIBUTE PBDOM_ENTITYREFERENCE PBDOM_CHARACTERDATA PBDOM_TEXT PBDOM_CDATA PBDOM_COMMENT PBDOM_PROCESSINGINSTRUCTION For detailed descriptions of PBDOM class methods, see the PowerBuilder Extension Reference. PBDOM_OBJECT The PBDOM_OBJECT class represents any node in an XML node tree and serves…
Terminology review – PB Docs 105
Terminology review Classes, properties, and methods In object-oriented programming, you create reusable classes to perform application processing. These classes include properties and methods that define the class’s behavior. To perform application processing, you create instances of these classes. PowerBuilder implements these concepts as follows: Classes PowerBuilder objects (such as windows, menus, window controls, and user…
Starting the pipeline – PB Docs 105
Starting the pipeline With the setup chores taken care of, you can now start the execution of your pipeline. To start pipeline execution: Code the Start function in an appropriate script. In this function, you specify: The Transaction object for the source database The Transaction object for the destination database The DataWindow control in which…