Search This Site
Jul 29 2010 16:59 UTC | ||||||||||
Tutorials
XML ManagerQuestions
Got a question for us? Quality
Bookmarks |
XPath SupportDo we support 100% of XPath? Not a chance! XML Manager gives you high-speed and memory-stability. We process your XML document in one-pass. Now that means we have to drop some things from the XPath specification, but we're pretty sure you won't miss them (we don't!). In any case, you can always use multiple RecordSpecs to handle difficult cases. This page shows you the list of things we do support. It's a lot longer than the stuff we've left out. How did we choose what to leave out? It comes down to the way we have implemented XML Manager. We make one pass through the XML file, using a SAX parser. We then use the SAX events to construct an internal view of the XML document that can then be checked against the XPath expressions you are using to extract your data. By the way, we're happy to help you get XML Manager working with your own XML formats. Please contact us directly with a sample of your XML, indicate the data you need to extract, and we'll send you back some sample XPaths that you can try right away, using our online demo. If you need some help getting started with XPath, here are some good online tutorials: What You GetBecause only one pass is made this means that XML Manager cannot "see into the future". As a result, XPath expressions that refer to elements ahead of the current element cannot be seen. Also, because we want to prevent memory errors, XML Manager does not try to keep a record of all the XML it has already seen. This still leaves us with 80% of the XPath specification:
Well that's not too bad now is it? In fact, with the above functionality you can get any data out of any XML document.
Some functions are only supported to the extent that is possible. For example, the What You Don't GetThe XPath specification relies heavily on the idea of a context, a full description of your current position in the XML document. XML Manager can only provide a partial context, because it is not possible to determine all the required details. As a result, the following parts of the XPath specification are not implemented:
As you can see, the subset of XPath supported is much greater that the unsupported subset. When you use XML Manager you are trading a few infrequently used XPath expressions for a very fast and memory-stable parser. You might be a bit worried that the What You Get More OfWe've also thrown in some additional functions to aid you in accessing the data in your XML documents. These functions are:
The The And you can even define your own functions, so you'll never be stuck. |
FREE Email SupportAll XML Manager licenses include a FREE 6 month Email Support Package, worth $1500.00. FREE CSV ManagerAll XML Manager licenses include a FREE CSV Manager single developer license, worth $170.00. Easy XML AccessThe XML Manager component lets you access your XML data using standard Java objects such as List, TableModel, and ResultSet.
| ||||||||
|
comment on this page
Home |
Search |
About Us |
Contact Us |
Our Products |
Documentation |
Resources |
Login
Copyright © 2004-2010 Ricebridge. All Rights Reserved. | ||||||||||