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

File: serializeWithIndentedAttributes.php

Source Location: /XML_Serializer-0.12.0/examples/serializeWithIndentedAttributes.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 Wed, 3 Nov 2004 05:40:06 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.