XML_Serializer
[ class tree: XML_Serializer ] [ index: XML_Serializer ] [ all elements ]

File: serializeWithTagMap.php

Source Location: /XML_Serializer-0.14.1/examples/serializeWithTagMap.php

Classes:

Page Details:

Includes:

require_once('XML/Serializer.php') [line 15]
XML Serializer example

This example demonstrates, how XML_Serializer is able to serialize scalar values as an attribute instead of a nested tag.

In this example tags with more than one attribute become multiline tags, as each attribute gets written to a separate line as 'indentAttributes' is set to '_auto'.


Documentation generated on Mon, 11 Apr 2005 14:55:54 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.