Forum und email
XMLWriter::writePI

XMLWriter::writePI

(no version information, might be only in CVS)

XMLWriter::writePI -- Writes a PI

Opis

Object oriented style:

class XMLWriter {

bool writePI ( string target, string content )

}

Procedural style:

bool xmlwriter_write_pi ( resource xmlwriter, string target, string content )

Writes a processing instruction.

Parametry

xmlwriter

Jedynie dla wywołań proceduralnych. Zasób XMLWriter, który jest modfikowany. Ten zasób pochodzi, z wywołania funkcji xmlwriter_open_uri() lub xmlwriter_open_memory().

target

The target of the processing instruction.

content

The content of the processing instruction.

Zwracane wartości

Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.