[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Schema: "Best used with the ______ tool"

  • From: Boris Kolpackov <boris@c...>
  • To: Michael Kay <mike@s...>
  • Date: Wed, 3 Dec 2008 13:38:16 +0200

Re:  XML Schema: "Best used with the ______ tool"
Hi Michael,

Michael Kay <mike@s...> writes:

> Yes, I'll be happy to run this. 25seconds for a simple search of 800Kb
> sounds very slow indeed. 

Well, it is 100 searches.

> One question though, it's not clear to me whether you are measuring 
> the time taken to load the XML, or only the time taken to query it.

Only the time it takes to query it (100 times). The XML document is
pre-loaded in both tests.

> My instinct would be to have the query return a sequence of nodes to
> the calling application, and have the calling application extract the
> attributes that it wants from those nodes.

That sounds fair. I just did what seemed easiest with the API I had.
If you think that returning something like DOM nodes would be better,
then I see no problem with it since that would result in the equivalent
functionality that is probably also less complex.


Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.