Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 3rd, 2006, 03:35 PM
sham
Guest
 
Posts: n/a
Default XSLT and SAX.

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.




  #2  
Old August 3rd, 2006, 03:45 PM
Scott M.
Guest
 
Posts: n/a
Default Re: XSLT and SAX.

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@inspirationmatters.comwrote in message
news:%23qnZvnwtGHA.4852@TK2MSFTNGP02.phx.gbl...
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.
>
>
>
>

  #3  
Old August 3rd, 2006, 03:55 PM
Martin Honnen
Guest
 
Posts: n/a
Default Re: XSLT and SAX.



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/
  #4  
Old August 3rd, 2006, 05:35 PM
sham
Guest
 
Posts: n/a
Default Re: XSLT and SAX.


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@yahoo.dewrote in message
news:eqvcy3wtGHA.3912@TK2MSFTNGP03.phx.gbl...
Quote:
>
>
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/

  #5  
Old August 3rd, 2006, 06:15 PM
Martin Honnen
Guest
 
Posts: n/a
Default Re: XSLT and SAX.



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/
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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