Select specific element from XML by XSLT

moodween

New Member
I have an XML like this in a variableprdxml\[code\] <root> <product> <estocklevel>0</estocklevel> <id>8142229</id> <isp_brand extra="isp_brand"></isp_brand> <isp_produktserie extra="isp_produktserie"></isp_produktserie> <isp_model extra="isp_model"></isp_model> </product> <product> <estocklevel>0</estocklevel> <id>8143793</id> <isp_brand extra="isp_brand">Leitz</isp_brand> <isp_produktserie extra="isp_produktserie">180</isp_produktserie> <isp_model extra="isp_model">Bred</isp_model> </product> <product> <estocklevel>0</estocklevel> <id>8143794</id> <isp_brand extra="isp_brand">Leitz</isp_brand> <isp_produktserie extra="isp_produktserie">180</isp_produktserie> <isp_model extra="isp_model">Smal</isp_model> </product> <product> <id>8143796</id> <isp_brand extra="isp_brand">Leitz</isp_brand> <isp_produktserie extra="isp_produktserie">180</isp_produktserie> <isp_model extra="isp_model">Smal</isp_model> </product></root>\[/code\]I want to select a product node where id =8143794 from this ,with out using for loop.can any one give any clue
 
Back
Top