Edgewall Software

Changes between Version 3 and Version 4 of MarkupStream


Ignore:
Timestamp:
Jul 27, 2006, 10:23:15 AM (18 years ago)
Author:
cmlenz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MarkupStream

    v3 v4  
    6666}}}
    6767
    68 Both methods can be passed a `method` parameter that determines how exactly the events are serialzed to text. This parameter can be either “xml” (the default) or “html”, or a subclass of the `markup.output.Serializer` class:
     68Both methods can be passed a `method` parameter that determines how exactly the events are serialzed to text. This parameter can be either “xml” (the default), “xhtml”, “html”, or a subclass of the `markup.output.Serializer` class:
    6969
    7070{{{
     
    8989}}}
    9090
    91 Often, streams cannot be reused: in the above example, the sub-stream is based on a generator. Once it has been serialized, it will have been fully consumed, and cannot be rendered again. To work around this, you can wrap such a “read-once” stream in a `list`:
     91Often, streams cannot be reused: in the above example, the sub-stream is based on a generator. Once it has been serialized, it will have been fully consumed, and cannot be rendered again. To work around this, you can wrap such a stream in a `list`:
    9292
    9393{{{