SYNOPSISint xmlWriterWriteAttribute(xmlWriter writer, string name,
string content [, string prefix [, string URI]])
Parameters:
writer - the xmlWritername - the name of the attributecontent - the content of the attributeprefix (optional) - the namespace prefix of the
attributeURI (optional) - the namespace URI for prefix
Returns:
DESCRIPTIONxmlWriterWriteAttribute() writes out a whole attribute. It is
the same as calling
xmlWriterStartAttribute($writer, $name [, $prefix [, $uri]] )
xmlWriterWrite($writer, $content)
xmlWriterEndAttribute($writer)
EXAMPLE<$ret = (xmlWriterWriteAttribute($writer, 'price', 5))>
SEE ALSOxmlWriterStartAttribute,
xmlWriterWrite,
xmlWriterEndAttribute