when writing xml with xmlwriter, there is no need to use htmlspecialchars or htmlentities for the text() method (this will only cause double encoding)
the xmlwriter takes care of entities for you after calling outputMemory
XMLWriter->outputMemory
(No version information available, might be only in CVS)
XMLWriter->outputMemory — Gibt Puffer zurück
Beschreibung
Objektorientiert:
XMLWriter
bool outputMemory
([ bool $flush
] )
Prozedural:
string xmlwriter_output_memory
( resource $xmlwriter
[, bool $flush
] )
Gibt den aktuellen Puffer-Inhalt zurück.
Parameter-Liste
- xmlwriter
-
Nur für prozedurale Aufrufe. Die XMLWriter resource die bearbeitet werden soll. Diese Resource wird von Aufrufen von xmlwriter_open_uri() oder xmlwriter_open_memory() geliefert.
- flush
-
Ob der Puffer geleert werden soll oder nicht. Standard ist TRUE.
Rückgabewerte
Gibt den aktuellen Puffer-Inhalt als Zeichenkette zurück.
XMLWriter->outputMemory
dave at dtracorp dot com
22-Feb-2007 11:08
22-Feb-2007 11:08
