By Andy Longshaw, Content Master Ltd. Intel Corp.
XML provides many benefits due to its simplicity and ubiquity, and it's being applied in a spectrum of applications. Unfortunately, XML also carries with it a cost in overhead because it must be parsed and processed in order to extract and use the information it contains. This overhead can lead to a decrease in system scalability—processing XML messages takes time that could be spent performing useful business-oriented processing. By considering the way in which an application uses XML and the type of XML documents being exchanged, you can change the way in which a system is built to improve its XML processing scalability. The improvements can impact hardware, software, and infrastructure, and can be designed from the start or applied as part of a refactoring exercise.
Scope
The subject of scalability is broad and spans aspects of hardware, software, and infrastructure. This paper discusses some techniques that you can apply at all these levels to assist in scaling XML-based solutions.
Definitions
The following terms are used throughout this paper:
DOM—Document Object Model, a standard in-memory model of an XML document.
.NET Framework—Microsoft's latest development platform
SAX—Simple API for XML, a stream-oriented means of processing XML.
W3C—World Wide Web Consortium, a de facto standards body that oversees the evolution of many Internet standards, including those for the XML family of standards.
XML—eXtensible Markup Language, a standard for structuring and describing character-based data.
What is XML Parsing?
Any XML-enabled application must consume XML documents that are passed to it. The process of reading and processing is referred to as parsing. Among the mechanisms available to you for parsing XML are SAX and DOM, two XML processing models. All models do roughly the same things (although possibly in a different sequence):
- Read in the contents of an XML document. The document can be from located in a file, or received through a socket or a Web-oriented connection.
- Analyze the contents of the document, discerning elements, attributes, and text.
- Provide access to the document contents for the developer.
![]()
![]() | Framework for Platform-Based Dynamic Resource Provisioning by Dean Yao, Tisson Mathew, Mazin Yousif, Sharad Garg, Intel Research ... |
If you're interested in this topic, these articles may be helpful:
![]() | Final Cut Pro XML Interchange Format Apple Inc. The Final Cut Pro XML Interchange Format provides extens... |
![]() | Determine the correct XML parser type for a Java application by Padma Apparao, senior performance architect, Software Solutions Gro... |
![]() | Reading, storing, and transforming XML data in .NET by Dimitrios Markatos, independent .NET architect. Unless you happe... |
![]() | Improve XML processing with VTD-XML by Jimmy Zhang, founder, Ximpleware. Intel Corp. Behind closed door... |
![]() | A guide to securing XML and Web services by Jason Bloomberg and Ronald Schmelzer, senior analysts, ZapThink LLC... |
![]()
Related Jobs:
![]() | Software Development Engineer #146898 - WA - Redmond - Microsoft Corporation Do you want to be at the forefront of Microsoft’s effort to beat Googl... |
![]() | .NET Software Engineer #SD_NET - MA - Boston - AIR Worldwide Corporation Become a member of the growing AIR Software Research and Development ... |
![]() | Sr MS Visual Studio Consultant #941 - PA - Lansdale - RCG Information Technology Description: All applicants must have a minimum of 3 years IT Indus... |
![]() | Program Manager #151630 - WA - Redmond - Microsoft Corporation Are you a high-energy, customer focused and passionate collaborative t... |
![]() | Programming Writer #151676 - WA - Redmond - Microsoft Corporation Make a difference today -- come work on one of the most innovative and... |
![]() | Information Security Consultant - CA - San Francisco - Federal Home Loan Bank of San Francisco Information Security Consultant Department: Information Services T... |
![]() | Software Developer 4 #IRC292341 - CA - Redwood Shores - Oracle The Systems Management Products (SMP) organization builds the ent... |
![]() | Application Software Developer #ASD001 - NJ - Totowa - SunGard Reference No.: ASD001 Opening Date: October 25, 2005 Job Title: Ap... |
![]() | Sr. Technical Consultant #STC - MA - Waltham - SunGard Reference No.: STC Opening Date: September 11, 2006 Job Title: Sr.... |
![]() | Software Development Engineer #146897 - WA - Redmond - Microsoft Corporation Do you want to be at the forefront of Microsoft’s effort to beat Googl... |

