• Post Reply Bookmark Topic Watch Topic
  • New Topic

XPATH transformation for repeat block of xml with same tag name  RSS feed

 
vivek kumar verma
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using XPATH to format an xml

The xpath is
[food]=Test/food
[home]=Test/home
which converts the xml to
[food]=apple
[home]=hut
Now my requirement is to have a repeat block
example


and the output should be
[food]=apple
[food]=orange
[home]=hut
[home]=wooden

How this can be achieved? I have tried using ./ or// which did not work
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!