Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Help needed in designing xml port

$
0
0
How to design the xml port for this xml file
<response>
    <id>2</id>
    <parent_id>1</parent_id>
    <name>Default Category</name>
    <is_active>true</is_active>
    <position>1</position>
    <level>1</level>
    <product_count>0</product_count>
    <children_data>
        <item>
            <id>4</id>
            <parent_id>2</parent_id>
            <name>Electronics</name>
            <is_active>true</is_active>
            <position>2</position>
            <level>2</level>
            <product_count>0</product_count>
            <children_data>
                <item>
                    <id>5</id>
                    <parent_id>4</parent_id>
                    <name>Phones &amp;amp; Tablets</name>
                    <is_active>true</is_active>
                    <position>1</position>
                    <level>3</level>
                    <product_count>0</product_count>
                    <children_data>
                        <item>
                            <id>6</id>
                            <parent_id>5</parent_id>
                            <name>Smart Phones</name>
                            <is_active>true</is_active>
                            <position>1</position>
                            <level>4</level>
                            <product_count>3</product_count>
                            <children_data>
                                <item>
                                    <id>7</id>
                                    <parent_id>6</parent_id>
                                    <name>Apple</name>
                                    <is_active>true</is_active>
                                    <position>1</position>
                                    <level>5</level>
                                    <product_count>0</product_count>
                                    <children_data/>
                                </item>
                                <item>
                                    <id>8</id>
                                    <parent_id>6</parent_id>
                                    <name>Huawei</name>
                                    <is_active>true</is_active>
                                    <position>2</position>
                                    <level>5</level>
                                    <product_count>0</product_count>
                                    <children_data/>
                                </item>
                                <item>
                                    <id>9</id>
                                    <parent_id>6</parent_id>
                                    <name> Microsoft</name>
                                    <is_active>true</is_active>
                                    <position>3</position>
                                    <level>5</level>
                                    <product_count>0</product_count>
                                    <children_data/>
                                </item>
                                <item>
                                    <id>10</id>
                                    <parent_id>6</parent_id>
                                    <name>Mi</name>
                                    <is_active>true</is_active>
                                    <position>4</position>
                                    <level>5</level>
                                    <product_count>0</product_count>
                                    <children_data/>
                                </item>
                            </children_data>
                        </item>
                    </children_data>
                </item>
            </children_data>
        </item>
    </children_data>
</response>

I have tired but failed.

Please help.

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>