JMSSerializerBundle
JMSSerializerBundle copied to clipboard
Mapping Attribute
Hi I a similar xml:
<export time="2015-07-17 07:26:38">
<product id="2">
<name>KERATIN- 100% Lidské vlasy k prodloužení REMY, přírodní Blond 46,55,60cm</name>
<code>P2/613</code>
<manufacturer id="3">HairStar</manufacturer>
<category id="35">Keratin</category>
</product>
</export>
it is possible to map the attribute for "id" in <manufacturer>
and <category>
without having to create a new object? I need both id and string between tags.
PS: Sorry for my english.