J
Jonathan Wood
Greetings,
I'm searching an XML file but am having some trouble with the XPath syntax.
Below is the general format of the XML file ("[...]" represents additional
data). I need to first locate the vendor with a specific code value. I then
need to locate the product under that vendor with a specific ID value.
Perhaps someone good at XPath could help me out.
Thanks!
<ProductFeed>
<Info>
[...]
</Info>
<Filters>
[...]
</Filters>
<Vendors>
<Vendor>
<Code>[...]</Code>
[...]
<Products>
<ID>[...]</ID>
[...]
</Product>
<Product>
<ID>[...]</ID>
[...]
</Product>
</vendor>
<vendor>
<Code>[...]</Code>
[...]
<Products>
<ID>[...]</ID>
[...]
</Product>
<Product>
<ID>[...]</ID>
[...]
</Product>
</vendor>
</Vendors>
</ProductFeed>
<<<<<
Jonathan
I'm searching an XML file but am having some trouble with the XPath syntax.
Below is the general format of the XML file ("[...]" represents additional
data). I need to first locate the vendor with a specific code value. I then
need to locate the product under that vendor with a specific ID value.
Perhaps someone good at XPath could help me out.
Thanks!
<ProductFeed>
<Info>
[...]
</Info>
<Filters>
[...]
</Filters>
<Vendors>
<Vendor>
<Code>[...]</Code>
[...]
<Products>
<ID>[...]</ID>
[...]
</Product>
<Product>
<ID>[...]</ID>
[...]
</Product>
</vendor>
<vendor>
<Code>[...]</Code>
[...]
<Products>
<ID>[...]</ID>
[...]
</Product>
<Product>
<ID>[...]</ID>
[...]
</Product>
</vendor>
</Vendors>
</ProductFeed>
<<<<<
Jonathan