1. A method for encoding a particular text XML, comprising the computer-implemented steps of: receiving a request for a first specified amount of binary encoded XML, wherein the first specified amount is less than the entire amount that would be produced by encoding the entire particular text XML, and wherein the first specified amount is a numerical value that communicates a size that equates to a particular number of bytes; in response to the request, encoding one or more nodes from the particular text XML on a per-node basis until a first amount of binary XML, which has been generated to satisfy the request, is equal to or greater than the first specified amount; responding to the request with a second amount of binary XML, wherein the second amount of binary XML is not greater than the first specified amount; once the request has been satisfied, ceasing to encode the particular text XML until receiving a subsequent request for binary encoded XML; receiving the subsequent request for a second specified amount of binary encoded XML; in response to the subsequent request, continuing to encode the particular text XML from a node that is subsequent to the one or more nodes that were used to generate the first amount of binary XML; and responding to the subsequent request with a third amount of binary XML, wherein the third amount of binary XML is not greater than the second specified amount; wherein the steps of the method are performed by one or more computer systems.
1. A method for encoding a particular text XML, comprising the computer-implemented steps of: receiving a request for a first specified amount of binary encoded XML, wherein the first specified amount is less than the entire amount that would be produced by encoding the entire particular text XML, and wherein the first specified amount is a numerical value that communicates a size that equates to a particular number of bytes; in response to the request, encoding one or more nodes from the particular text XML on a per-node basis until a first amount of binary XML, which has been generated to satisfy the request, is equal to or greater than the first specified amount; responding to the request with a second amount of binary XML, wherein the second amount of binary XML is not greater than the first specified amount; once the request has been satisfied, ceasing to encode the particular text XML until receiving a subsequent request for binary encoded XML; receiving the subsequent request for a second specified amount of binary encoded XML; in response to the subsequent request, continuing to encode the particular text XML from a node that is subsequent to the one or more nodes that were used to generate the first amount of binary XML; and responding to the subsequent request with a third amount of binary XML, wherein the third amount of binary XML is not greater than the second specified amount; wherein the steps of the method are performed by one or more computer systems. 2. The method of claim 1 , wherein: the first amount of binary XML exceeds the first specified amount by a fourth amount of binary XML; and the method further includes: storing the fourth amount of binary XML in a carry-over buffer until receiving the subsequent request for binary encoded XML; and using said fourth amount of binary XML to satisfy said subsequent request for binary encoded XML.