HighTechTalks DotNet Forums  

XSLT and SAX.

Dotnet XML microsoft.public.dotnet.xml


Discuss XSLT and SAX. in the Dotnet XML forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
sham
 
Posts: n/a

Default XSLT and SAX. - 08-03-2006 , 09:35 AM






Hi to all,

We have a large XML file (1.5 mb) from which we need to extract on a small
xml fragment.

Is it possible to this with XSLT?

I am using C# and .Net (1.1)

Sham.





Reply With Quote
  #2  
Old   
Scott M.
 
Posts: n/a

Default Re: XSLT and SAX. - 08-03-2006 , 09:52 AM






Sure, but depending on how small of a fragment you are looking for, you may
just want to load the XML into a System.XML.XMLDocument and parse it that
way.


"sham" <shamresh (AT) inspirationmatters (DOT) com> wrote

Quote:
Hi to all,

We have a large XML file (1.5 mb) from which we need to extract on a small
xml fragment.

Is it possible to this with XSLT?

I am using C# and .Net (1.1)

Sham.







Reply With Quote
  #3  
Old   
Martin Honnen
 
Posts: n/a

Default Re: XSLT and SAX. - 08-03-2006 , 10:03 AM





sham wrote:

Quote:
We have a large XML file (1.5 mb) from which we need to extract on a small
xml fragment.

Is it possible to this with XSLT?

I am using C# and .Net (1.1)
XmlTextReader might suffice for your task and contrary to XSLT will not
build a tree model of the complete document in memory.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/


Reply With Quote
  #4  
Old   
sham
 
Posts: n/a

Default Re: XSLT and SAX. - 08-03-2006 , 11:41 AM




Hi,

We are currently using the MultiXMLTextWriter which spits out a number of
XML files using an XSLT file. This works fine.

We now have another XML file (1.5 mb) and were wondering if we can use the
above to find the xml fragments that we need.

Would this be possible?

Sham.


"Martin Honnen" <mahotrash (AT) yahoo (DOT) de> wrote

Quote:

sham wrote:

We have a large XML file (1.5 mb) from which we need to extract on a
small xml fragment.

Is it possible to this with XSLT?

I am using C# and .Net (1.1)

XmlTextReader might suffice for your task and contrary to XSLT will not
build a tree model of the complete document in memory.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/



Reply With Quote
  #5  
Old   
Martin Honnen
 
Posts: n/a

Default Re: XSLT and SAX. - 08-03-2006 , 12:22 PM





sham wrote:


Quote:
We are currently using the MultiXMLTextWriter which spits out a number of
XML files using an XSLT file. This works fine.

We now have another XML file (1.5 mb) and were wondering if we can use the
above to find the xml fragments that we need.

Would this be possible?
It is certainly possible, whether it performs as needed depends
obviously on the processor power and RAM available where you run it.



--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.