Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Oracle XML Programming tips

Oracle PL/SQL tips by Boobal Ganesan

This is an excerpt from the book Advanced PL/SQL: The Definitive Reference by Boobal Ganesan.

XML stands for eXtensible Markup Language, created in 1996 by Jon Bosak, Tim Bray and several others. The XML’s predecessor was called as the Standard Generalized Markup Language (SGML) which was invented in the early 70s by Charles F. Goldfarb, Ed Mosher and Ray Lorie at the IBM laboratory. SGML despite its name, not a markup language, but a language that is used for specifying other markup languages. The SGML basically creates vocabularies which can be used for forming structural tags for the markup languages.

 

The SGML is a very much powerful, vast language, but was too complex and platform incompatible for the general use with lots of redundant features which were not used over 2 decades after its creation. Even though SGML created a big successful application, the HTML in the late 80s, it does not offer all the powerful features of SGML as it restricts us to use a finite set of operations to define a web page. The HTML is a powerful presentation application, but not human readable. This pullover created the XML language, which supports data exchange independent of platform and architecture. The first version of XML was XML 1.0 which was released on the market in February, 1998 and was immediately adopted by many programmers who always wanted a structural markup language but couldn’t afford to handle the complexity of the SGML language.

Oracle Database XML Support

The Oracle database started supporting XML from the version 9iR2 by introducing a new data type called as XMLTYPE to facilitate native handling of XML data in the database. From then on, there was creation of numerous objects to support reliability, availability, scalability and security on the XML data processed in the database. The XML objects in Oracle operate on or returns XML data. The arguments used in these objects are not defined in the ANSI standard, but are defined as a part of the World Wide Web Consortium (W3C) standards. When an operation performed in any of the XML objects fails to satisfy the rules placed on the W3C standard, the program fails with an appropriate failure notice.

XPATH Expressions

XPath is a W3C standard expression set for navigating through the XML documents. XPath expression set considers the XML documents in a tree structure and provides us with the below constructs for branching between their nodes.

XPath Constructs List

XPath Expression

Description

/

Indicates the root of the tree and a path separator to identify the child node of any given node in an XPath expression.

//

Indicates the all the child nodes of the given node.

*

This is a wildcard character which is used for matching any child node.

[ ]

Indicates the predicate expressions using the binary operators such as AND, OR and NOT. Also denotes the index of a node element.

 

Need to learn to program with PL/SQL?  For complete notes on programming in PL/SQL, we recommend the book Advanced PL/SQL: The Definitive Reference by Boobal Ganesan.

This is a complete book on PL/SQL with everything you need to know to write efficient and complex PL/SQL code.

   
Oracle Training from Don Burleson 

The best on site "Oracle training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

Oracle training
 
 



 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2016

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.


 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster