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

File: serializeWithIndentedAttributes.php

Source Location: /XML_Serializer-0.8/examples/serializeWithIndentedAttributes.php

Classes:

Page Details:

Includes:

require_once('XML/Serializer.php') [line 14]
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 Sat, 1 May 2004 00:39:06 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.