| 1 | <HTML> |
| 2 | <HEAD> |
| 3 | <TITLE>How do I use pop_output?</TITLE> |
| 4 | </HEAD> |
| 5 | <BODY> |
| 6 | |
| 7 | <P><B>Links</B>: <A HREF=outputex.html>Next</A> <A HREF=pushoutput.html>Previous</A> <A HREF=sgmlspl.html>Up</A> <A HREF=sgmlspl.html>Top</A></P> |
| 8 | |
| 9 | <H1>How do I use <TT>pop_output</TT>?</H1> |
| 10 | |
| 11 | <P>When you want to restore the previous output after using <A HREF=pushoutput.html><TT>push_output</TT></A>, simply |
| 12 | call the subroutine <TT>pop_output</TT>. If the output type |
| 13 | was a string, <TT>pop_output</TT> will return the string |
| 14 | (containing all of the output); otherwise, the return value is not |
| 15 | useful.</P> |
| 16 | |
| 17 | <P>Usually, you will want to use <TT>push_output</TT> in |
| 18 | the start handler for an element or subdocument entity, and |
| 19 | <TT>pop_output</TT> in the end handler.</P> |
| 20 | |
| 21 | |
| 22 | <P><B>Links</B>: <A HREF=outputex.html>Next</A> <A HREF=pushoutput.html>Previous</A> <A HREF=sgmlspl.html>Up</A> <A HREF=sgmlspl.html>Top</A></P> |
| 23 | |
| 24 | |
| 25 | <ADDRESS>David Megginson <A HREF="mailto:[email protected]"><[email protected]></A></ADDRESS> |
| 26 | </BODY> |
| 27 | </HTML> |