Support » Plugin: Import any XML or CSV File to WordPress » Parameters child in XML

  • Resolved novetrendy

    (@novetrendy)


    Hi,

    in my XML file some parameter child’s are not set in the same position. For example, they are like this:

    `<stk_stockHeader>
    …..
    <stk_parameters>
    <typ_parameter>
    <typ_name>VPrImportID</typ_name>
    <typ_textValue>33560&</typ_textValue>
    </typ_parameter>
    <typ_parameter>
    <typ_name>VPrTypeCar</typ_name>
    <typ_textValue>Moto</typ_textValue>
    </typ_parameter>
    <typ_parameter>
    <typ_name>VPrProductCat</typ_name>
    <typ_textValue>Pneu_MOTO</typ_textValue>
    </typ_parameter>
    </stk_parameters>
    </stk_stockHeader>`

    Please, how i can get value from parameter – like from VPrImportID get value 33560?

    I try {stk_parameters/typ_parameter[./Name = "VprSezona"]/typ_textValue[1]} but no success.

    • This topic was modified 2 years, 3 months ago by novetrendy.
    • This topic was modified 2 years, 3 months ago by novetrendy.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Parameters child in XML’ is closed to new replies.