Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 20th, 2006, 03:35 PM
sql_er
Guest
 
Posts: n/a
Default 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

  #2  
Old December 20th, 2006, 03:35 PM
Martin Honnen
Guest
 
Posts: n/a
Default Re: Indexing XML Document

sql_er wrote:
Quote:
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/
  #3  
Old December 20th, 2006, 03:45 PM
sql_er
Guest
 
Posts: n/a
Default Re: Indexing XML Document


Martin Honnen wrote:
Quote:
sql_er wrote:
>
Quote:
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

  #4  
Old December 23rd, 2006, 05:05 PM
Joe Kesselman
Guest
 
Posts: n/a
Default Re: Indexing XML Document

sql_er wrote:
Quote:
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
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles