Skip to content

Commit 52ca1ed

Browse files
authored
Update Readme.md
Cleaned!
1 parent 7639a29 commit 52ca1ed

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ print $xml->buildXML($input);
1313
</code></pre>
1414

1515
INPUT:
16-
<pre><code>$input = array('product' => array(
16+
<pre><code>
17+
$input = array('product' => array(
1718
'@id' => 7,
1819
'name' => 'some string',
1920
'seo' => 'some-string',
2021
'ean' => '',
2122
'producer' => array(
2223
'name' => null,
2324
'photo' => '1.png'
24-
)
25+
),
2526
'stock' => 123,
2627
'trackstock' => 0,
2728
'new' => 0,
@@ -37,21 +38,21 @@ INPUT:
3738
'category' => array(
3839
'photo' => '1.png',
3940
'name' => 'test3',
40-
)
41+
),
4142
'staticattributes' => array(
4243
'attributegroup' => array(
4344
1 => array(
4445
'@name' => 'attributes group',
4546
'attribute' => array(
4647
0 => array(
4748
'name' => 'second',
48-
'description' => '&lt;p&gt;desc2&lt;/p&gt;',
49+
'description' => 'desc2',
4950
'file' => '',
5051
),
5152
1 =>
52-
array
53+
array(
5354
'name' => 'third',
54-
'description' => '&lt;p&gt;desc3&lt;/p&gt;',
55+
'description' => 'desc3',
5556
'file' => '',
5657
),
5758
)

0 commit comments

Comments
 (0)