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

File: serializeWithTagMap.php

Source Location: /XML_Serializer-0.20.0/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 Fri, 12 Jun 2009 03:30:05 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.