Parse XML and Access Previously Parsed Content.

CAX TM extends .NET XmlReader by providing a cursor to all previously parsed XML at any time during or after parsing.

CAX has no limits on the size of an XML document, or the amount of parsed XML it can access, yet uses only 20Mb of memory for any size XML.

CAX is a caching API for XML. It is based on the API used in the XMLMax Virtual XML editor.


cax xml api download
Beta Version 1.0 is currently available.

Sample Code(click to enlarge)
caching xml

Powerful XML Transformation Tool

Use CAX to transform any size XML using your favorite .NET language with no memory issues. You get the speed of XmlReader and access to the entire xml. The Path property returns the full xml path of the current node and minimizes the amount of code needed to find target elements. Use CAX methods that look backward in the xml to write code that aggregates data, computes statistics, etc. Generate reports, extract fragments or break large XML into smaller files based on criteria that look backward in the xml hierarchy.

There is basically no transformation that you cannot accomplish with CAX.

Works With Existing XmlReader Code

CAX exposes the methods and properties of XmlReader so your existing code only needs to change the XmlReader constructor to the CAX constructor. Then use CAX extension methods and properties, such as Path, CursorMoveToParent and CursorNodeType, to access the cached xml.

CAX supports both a Validating and a Non-Validating XmlReader. ReadSubTree is not supported in the beta but is exptected to be in the release version.

How Does It Work?

CAX buffers all XML as it is parsed, caching it to disk as needed to maintain a small buffer and thereby minimize memory consumption. It provides a fully scrollable cursor that allows bi-directional navigation through all previously parsed xml up to the last parsed node. The CursorSkip method, for example, takes a signed integer for skipping backward or forward any number of nodes.

The position of the underlying XmlReader is not changed by navigation of the CAX and you may continue parsing at any time.

Features CAX Extensions to XmlReader
  • XML Parsing With XmlReader
  • Access All Parsed XML At Any Time
  • Unlimited XML File Size
  • Small Memory Footprint
  • XML Syntax Checking
  • Schema Validation
  • CursorAttributes
  • CursorClose
  • CursorEOB
  • CursorIsEmptyElement
  • CursorHasValue
  • CursorMoveToBOF
  • CursorSyncToReader
  • CursorMoveToDescendent
  • CursorMoveToFollowing
  • CursorMoveToNextSibling
  • CursorMoveToParent
  • CursorMoveToPrior
  • CursorMoveToRoot
  • CursorSkip
  • CursorLocalName
  • CursorDepth
  • CursorNodetype
  • CursorValue
  • Path

System Requirements

Windows XP, Windows 2000, Windows Server 2003, Windows Vista



copyright © 2008, 2009. Xponent LLC. All rights reserved.