10.07.2015 Views

Easy XML with PBDOM - Sybase

Easy XML with PBDOM - Sybase

Easy XML with PBDOM - Sybase

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Easy</strong> <strong>XML</strong> <strong>with</strong> <strong>PBDOM</strong>: <strong>PBDOM</strong>_Element• Moving elements is easy <strong>with</strong> <strong>PBDOM</strong>// <strong>PBDOM</strong>_Document docOne, docTwo<strong>PBDOM</strong>_Element movablemovable = CREATE <strong>PBDOM</strong>_ElementMovable.SetName( "movable" )docOne.AddContent( movable )movable.Detach()docTwo.addContent( movable )// add// remove// add again Detach() may be called for anything that is derived from<strong>PBDOM</strong>_Object• Comments• ProcessingInstructions• Elements (and their content)• Etc… <strong>PBDOM</strong> elements aren't permanently tied to their parentdocumentPowerBuilder: <strong>Easy</strong> <strong>XML</strong> <strong>with</strong> <strong>PBDOM</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!