Quantcast
Channel: Topic Tag: xml | WordPress.org
Viewing all articles
Browse latest Browse all 3201

Parameters child in XML

$
0
0

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.


Viewing all articles
Browse latest Browse all 3201

Trending Articles