[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Re: requesting XML document retrieved from a large and complexone..
- From: "Ju, Hong-Taek" <juht@postech.ac.kr>
- To: "Thomas B. Passin" <tpassin@home.com>, xml-dev@lists.xml.org
- Date: Wed, 08 Aug 2001 00:09:04 +0900
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
string.
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
/juht
>-----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
>used
>> to do futher processing by a client.
>> This is inefficient method because unnecessary information is processed
>in
>> server and trasferred through network.
>> Is there a standard or common method to request a part of a large or
>complex
>> 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.
>
>Cheers,
>
>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
>