 |
 |
 |
> One way I can imagine an efficient way of using XSLT to
> select and transform a few nodes from a gigabyte XML
> document is indexing it - a database thing.
This is a very cool idea, and something I've been doing a variant of for a
while in SQL Server. Basically, I read my documents (caveat: no mixed
content, no ANY content, but elements and attributes are OK) and store the
information in my database in a branch-leaf metaphor, with the leaves
containing the two or three bits of information I'm interested in searching
on. Then, I can query my DB with something like "give me any leaf of type
'model' that has style='sedan' and whose parent has maker='Chrysler'." The
query pops out XPath expressions which I can then use from a
dynamically-generated XSLT stylesheet (built using the DOM) to grab just the
bits of information I want from the doc. In addition, if I'm only interested
in summary information - like just how many Chrysler sedans there are - I
don't have to go to the document at all anymore.
It remains to be seen whether Oracle and Microsoft (the two big RDBMS
players in my space) build stuff like this in natively - but it sure would
be nice if they did.
- Kevin
Kevin Williams
XML Architect
Ultraprise Corporation
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
 | 



|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |