1<?xml version="1.0" encoding="UTF-8"?>
2<serializer>
3    <class name="JMS\Serializer\Tests\Fixtures\BlogPost" xml-root-name="blog-post">
4        <xml-namespace uri="http://example.com/namespace"/>
5        <xml-namespace prefix="gd" uri="http://schemas.google.com/g/2005"/>
6        <xml-namespace prefix="atom" uri="http://www.w3.org/2005/Atom"/>
7        <xml-namespace prefix="dc" uri="http://purl.org/dc/elements/1.1/"/>
8        <property name="id" type="string" groups="comments,post">
9            <xml-element cdata="false"/>
10        </property>
11        <property name="title" type="string" groups="comments,post">
12            <xml-element namespace="http://purl.org/dc/elements/1.1/"/>
13        </property>
14        <property name="createdAt" xml-attribute="true" type="DateTime"/>
15        <property name="published" type="boolean" serialized-name="is_published" xml-attribute="true" groups="post" />
16        <property name="etag" type="string" xml-attribute="true" groups="post">
17            <xml-element namespace="http://schemas.google.com/g/2005"/>
18        </property>
19        <property name="comments" groups="comments">
20            <type><![CDATA[ArrayCollection<JMS\Serializer\Tests\Fixtures\Comment>]]></type>
21            <xml-list inline="true" entry-name="comment" />
22        </property>
23        <property name="author" groups="post" type="JMS\Serializer\Tests\Fixtures\Author">
24            <xml-element namespace="http://www.w3.org/2005/Atom"/>
25        </property>
26    </class>
27</serializer>