• Resolved khvoroffski

    (@khvoroffski)


    Hi!
    I have xml feed like this

    <offer id="43941" available="true" type="simple" sku="31-14799" parent_id="43949">
            <price>483</price>
            <currencyId>USD</currencyId>
            <categoryId type="Own">373</categoryId>
            <stock>5</stock>
            <picture>https://www.blablabla.com/blabla.jpg</picture>
            <name>Scoyco Pm01</name>
            <vendor>SCOYCO</vendor>
            <description>bla bla bla.</description>
            <param name="Brand">SCOYCO</param>
            <param name="Country of manufacture">China</param>
            <param name="Brand country">China</param>
            <param name="sku">PM01 BLACK</param>
            <param name="Main color">Black</param>
            <param name="Material">No</param>
          </offer>
    

    I want to import all of the params as attributes, but in different offers order of those params are different, so i was reffering to this link and tried like this {param[./@Name = “Brand”]} , but had no luck.
    Could you please give me advise how to fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Several xml feed params (same param,different name)’ is closed to new replies.