473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Indexing XML Document

Guys,

I have a very large XML document. When I query it, it takes too long
to produce results. I read somewhere that XML documents could be
indexed (althgough that "somewhere" did not describe how exactly).

Can someone tell me how it can be done?

Thank you very much

Dec 20 '06 #1
3 1442
sql_er wrote:
I have a very large XML document. When I query it, it takes too long
to produce results. I read somewhere that XML documents could be
indexed (althgough that "somewhere" did not describe how exactly).

Can someone tell me how it can be done?
It depends on how you query the XML. If you have written an XSLT
stylesheet then you might be able to speed up processing by making use
of xsl:key and the xsl key function, see
<http://www.w3.org/TR/xslt#key>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Dec 20 '06 #2

Martin Honnen wrote:
sql_er wrote:
I have a very large XML document. When I query it, it takes too long
to produce results. I read somewhere that XML documents could be
indexed (althgough that "somewhere" did not describe how exactly).

Can someone tell me how it can be done?

It depends on how you query the XML. If you have written an XSLT
stylesheet then you might be able to speed up processing by making use
of xsl:key and the xsl key function, see
<http://www.w3.org/TR/xslt#key>
I am actually loading XML document into a DataSet object in C# program
and querying it there. That is why, not only do I need to find out how
I can index, but also if indexing information can be used once xml data
is loaded into a dataset object.

I read somewhere that if I know the access path or something I should
be able to index. I have no idea what it is though.

Thanks a lot

Dec 20 '06 #3
sql_er wrote:
I am actually loading XML document into a DataSet object in C# program
and querying it there. That is why, not only do I need to find out how
I can index, but also if indexing information can be used once xml data
is loaded into a dataset object.
If you aren't working through a tool that supports indexing, you may
need to write your own.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Dec 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Hilde Roth | last post by:
This may have been asked before but I can't find it. If I have a rectangular list of lists, say, l = ,,], is there a handy syntax for retrieving the ith item of every sublist? I know about for i...
0
by: sebastian | last post by:
Hi. I'm trying to build a site that based on a user entry searches through the contents of files on a disk and displays a list of files which contents match user criteria (basicaly a word). ...
3
by: C | last post by:
Hi, I currently use MS Indexing Service to search my htm and aspx pages. I recently downloaded the IFilter tool from Adobe. When I now do a search it still does not pick up any text in my...
3
by: chandra.somesh | last post by:
Hi I am having problem indexing large amount of textual data(in range of 200,000 to 1 million). I tried using map container but the compiler just hanged upon entering the data. On bit of...
108
by: Bryan Olson | last post by:
The Python slice type has one method 'indices', and reportedly: This method takes a single integer argument /length/ and computes information about the extended slice that the slice object would...
7
by: Ryan | last post by:
I have a bit of a problem with regards an indexing strategy. Well, basically there is no indexing strategy on a set of data I have at work. Now, I didn't create the design as I would have allowed...
3
by: Chung Leong | last post by:
Here's the rest of the tutorial I started earlier: Aside from text within a document, Indexing Service let you search on meta information stored in the files. For example, MusicArtist and...
4
by: Emin | last post by:
Dear Experts, How much slower is dict indexing vs. list indexing (or indexing into a numpy array)? I realize that looking up a value in a dict should be constant time, but does anyone have a...
2
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a server 2008 IIS 7.0 with indexing service installed. I have created the catalog and have a test page using these posts:...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.