OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: requesting XML document retrieved from a large and complexone..

Thanks for your advice.

The use of SAX filter in server is also inefficient in terms of server.
Because the server must generate large source document, even if filterd
after all.
If a server have a ability to generate a necessary part of source document
on the ground of a client request.
The sever can save a computing resources.
On the assumption a client specify a part of source document in XPath
Is it passible for server to generate a requested part of source document on
the ground of  XML shema (DTD or Schema) of source document?

Thanks in advance


>-----Original Message-----
>From: Thomas B. Passin [mailto:tpassin@home.com]
>Sent: Tuesday, August 07, 2001 10:01 PM
>To: xml-dev@lists.xml.org
>Subject: Re: requesting XML document retrieved from a large and
>complex one..
>[Ju, Hong-Taek]
>> I have a very simple question about a XML document exchange.
>> In some cases, a part of XML document that is retrieved from server is
>> to do futher processing by a client.
>> This is  inefficient method because unnecessary information is processed
>> server and trasferred through network.
>> Is there a standard or common method to request a part of a large or
>> XML document?
>The classic way would be to use an xslt stylesheet, but that might be too
>slow if you have a really large source document.  It sounds like a
>job for a
>SAX filter - create a SAX handler that saves the parts you want and ignores
>the rest, then serializes the result to the output in xml.
>Tom P
>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
>initiative of OASIS <http://www.oasis-open.org>
>The list archives
>are at http://lists.xml.org/archives/xml-dev/
>To unsubscribe from this elist send a message with the single word
>"unsubscribe" in the body to: xml-dev-request@lists.xml.org