Thunderstone Software Document Search, Retrieval, and Management
Search:
Vortex Manual
 

xmlWriterWriteElement

 

SYNOPSIS

    int xmlWriterWriteElement(xmlWriter writer, string name,
            string content [, string prefix [, string URI]])

Parameters:

  • writer - the xmlWriter

  • name - the name of the element

  • content - the content of the element

  • prefix (optional) - the namespace prefix of the element

  • URI (optional) - the namespace URI for prefix

Returns:

  • the bytes written (may be 0 because of buffering) or -1 in case of error


DESCRIPTION
xmlWriterWriteElement() writes out a whole element. It is the same as calling

    xmlWriterStartElement($writer, $name [, $prefix [, $uri]] )
    xmlWriterWrite($writer, $content)
    xmlWriterEndElement($writer)


EXAMPLE

    <$ret = (xmlWriterWriteElement($writer, 'item',
                    'Look at me!'))>


Copyright © Thunderstone Software     Last updated: Mon Feb 18 10:28:15 EST 2013
 
Home   ::   Products   ::   Solutions   ::   How to Buy   ::   Support   ::   Contact Us   ::   News   ::   About
Copyright © 2013 Thunderstone Software LLC. All rights reserved.