[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

buffering XML and XSL (was Re: Streaming XSL Stylesheets)

  • From: xml <xml@0...>
  • To: xml-dev@i...
  • Date: Tue, 20 Apr 1999 12:03:01 -0700

xml xsl nested

I just caught the tail-end of this discussion which was interesting.
DXML (my framework) does not normally buffer anything but can effectively
process the XML/XSL documents I'm working with.  I am targeting specific areas
though, not trying to be 100% compliant with the specification.

For what I'm doing, non-buffering of XML/XSL is doable and beautifully  
suited to this framework's purpose.  Additionally, I'm including the ability
to turn buffering on, so that everything is retained in memory.  Mainly
I'm doing this so that I can learn about sets of documents that may require
me to buffer information.  Additionally it's just nice to have the ability
to keep everything in System memory, for obvious reasons.

So in a nutshell, I am processing files something like this:

1.  Read an XML file until/unless you get to the XSL file callout.
2.  Read the XSL file, store the program.                
3.  Continue reading the XML file.  Look for XML tags that satisfy  
      the program's requests.
4.  Stop when XML file data has been read completely.
5.  Throw away XSL program buffers and XML data.

Some of you may flame me on my approach.  Know that it's targeted
at embedded processors where processing power and memory are limited.
Of course it compiles on Linux/Solaris as well so I am interested in
scaling up when possible.  (It's all in C.)           

I am worried about nested stylesheets and various other usages of
XSL that may escape me.  Currently I can't handle those well and I
would like to.  XSL looping structures and conditionals are not
a real problem though using a non-buffered approach and at the  
very least I have a set of tools that useful for dynamic web-page
creation on my platforms... which was the original goal.

Thomas                                       

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.