ObjectWithXmlNamespaces.xml 886 B

12345678910111213
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <serializer>
  3. <class name="JMS\Serializer\Tests\Fixtures\ObjectWithXmlNamespaces" xml-root-name="test-object">
  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. <property name="title" type="string" xml-namespace="http://purl.org/dc/elements/1.1/"/>
  8. <property name="createdAt" xml-attribute="true" type="DateTime"/>
  9. <property name="etag" type="string" xml-attribute="true" xml-namespace="http://schemas.google.com/g/2005"/>
  10. <property name="author" type="string" xml-namespace="http://www.w3.org/2005/Atom"/>
  11. <property name="language" type="string" xml-attribute="true" xml-namespace="http://purl.org/dc/elements/1.1/"/>
  12. </class>
  13. </serializer>