This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > December 2003 > display and navigate through large xml file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author display and navigate through large xml file
Zeng

2003-12-17, 9:41 am

Hello,

I'm struggling with a very large XML file. I would like to find out a
better way to navigate through the nodes and their content. The features I'm
looking for:
1) Text search, or node and attribute search.
2) Once I find the text (an attribute for example), I would like to quickly
find out the path from the root to it.

I've been using IE and just open the file with .xml extension but figuring
out the path to a deep place in the doc is not a simple thing to do there.

Thanks!


Dimitre Novatchev

2003-12-17, 9:41 am


"Zeng" <zzy@nonospam.com> wrote in message
news:u98TwNBxDHA.1596@TK2MSFTNGP10.phx.gbl...
quote:

> Hello,
>
> I'm struggling with a very large XML file. I would like to find out a
> better way to navigate through the nodes and their content. The features


I'm
quote:

> looking for:
> 1) Text search, or node and attribute search.
> 2) Once I find the text (an attribute for example), I would like to


quickly
quote:

> find out the path from the root to it.
>
> I've been using IE and just open the file with .xml extension but figuring
> out the path to a deep place in the doc is not a simple thing to do there.



ancestor::node()


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL


Zeng

2003-12-18, 8:45 pm

I am looking for a way/application to view and navigate a large XML file,
not programmatically displaying it.

"Dimitre Novatchev" <dnovatchev@yahoo.com> wrote in message
news:bropog$5ql01$1@ID-152440.news.uni-berlin.de...
quote:

>
> "Zeng" <zzy@nonospam.com> wrote in message
> news:u98TwNBxDHA.1596@TK2MSFTNGP10.phx.gbl...
> I'm
> quickly
figuring[QUOTE][color=darkred]
there.[QUOTE][color=darkred]
>
> ancestor::node()
>
>
> =====
> Cheers,
>
> Dimitre Novatchev.
> http://fxsl.sourceforge.net/ -- the home of FXSL
>
>




Dimitre Novatchev

2003-12-18, 8:45 pm


"Zeng" <zzy@nonospam.com> wrote in message
news:%23MllpZLxDHA.4060@TK2MSFTNGP11.phx.gbl...
quote:

> I am looking for a way/application to view and navigate a large XML file,
> not programmatically displaying it.




Still someone has to write the program... :o)


Dimitre Novatchev.
FXSL developer, XML Insider,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html


Chris Barber

2003-12-18, 8:45 pm

You can implement a text search easily enough using XSLT - I've certainly
done it and there are XSLT examples to generate XPath statements for the
context node - I think Dimitre wrote an article about it.

Ahh - found one reference to it:
http://www.dpawson.co.uk/xsl/sect2/N6077.html

Maybe Dimitre has a url to the one that I'm really thinking of?

Chris.
..
"Zeng" <zzy@nonospam.com> wrote in message
news:%23MllpZLxDHA.4060@TK2MSFTNGP11.phx.gbl...
I am looking for a way/application to view and navigate a large XML file,
not programmatically displaying it.

"Dimitre Novatchev" <dnovatchev@yahoo.com> wrote in message
news:bropog$5ql01$1@ID-152440.news.uni-berlin.de...
quote:

>
> "Zeng" <zzy@nonospam.com> wrote in message
> news:u98TwNBxDHA.1596@TK2MSFTNGP10.phx.gbl...
> I'm
> quickly
figuring[QUOTE][color=darkred]
there.[QUOTE][color=darkred]
>
> ancestor::node()
>
>
> =====
> Cheers,
>
> Dimitre Novatchev.
> http://fxsl.sourceforge.net/ -- the home of FXSL
>
>





Dimitre Novatchev

2003-12-18, 8:45 pm


"Chris Barber" <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:eVF6c$LxDHA.1364@tk2msftngp13.phx.gbl...
quote:

> You can implement a text search easily enough using XSLT - I've certainly
> done it and there are XSLT examples to generate XPath statements for the
> context node - I think Dimitre wrote an article about it.
>
> Ahh - found one reference to it:
> http://www.dpawson.co.uk/xsl/sect2/N6077.html
>
> Maybe Dimitre has a url to the one that I'm really thinking of?
>
> Chris.



http://www.topxml.com/code/default....v20010323001030

and

http://www.dpawson.co.uk/xsl/sect2/N6077.html



Dimitre Novatchev.
FXSL developer, XML Insider,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html


Chris Barber

2003-12-18, 8:45 pm

Thanks Dimitre - I can never find that one when I want it. Even google seems
to get stumped and retrieve just about anything else it can possibly find
but the page I want. Ahh, the rise of technology will kill us all - I think
they made a few films with Arnie along those lines?

:)

Chris.

"Dimitre Novatchev" <dnovatchev@yahoo.com> wrote in message
news:brq504$69mkf$1@ID-152440.news.uni-berlin.de...

"Chris Barber" <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:eVF6c$LxDHA.1364@tk2msftngp13.phx.gbl...
quote:

> You can implement a text search easily enough using XSLT - I've certainly
> done it and there are XSLT examples to generate XPath statements for the
> context node - I think Dimitre wrote an article about it.
>
> Ahh - found one reference to it:
> http://www.dpawson.co.uk/xsl/sect2/N6077.html
>
> Maybe Dimitre has a url to the one that I'm really thinking of?
>
> Chris.



http://www.topxml.com/code/default....v20010323001030

and

http://www.dpawson.co.uk/xsl/sect2/N6077.html



Dimitre Novatchev.
FXSL developer, XML Insider,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews