• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

XPATH issue

 
Ranch Hand
Posts: 997
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have xpath similar to below

<xPath>concat(deviceNbr, '|', nbr)</xPath>
<selectionRule>NODES_FROM_DOC</selectionRule>


In my generated document i do not see any thing getting printed.
Some times it prints only top element but not the subsequent element data. Please advise on how to fix this issue. Any sample examples on this highly appreciated. Thanks in advance
 
Marshal
Posts: 80279
432
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Too difficult for “beginning”. Moving discussion.
 
Ranch Hand
Posts: 99
Tomcat Server Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are you trying to do?

Xpath is a syntax that allows search data & nodes in a XML file.






Under XpathExpression you can search by expression for example:
/colors/pencil/model/color, this will print all the colors.

or by attribute like the example.


-Mauro.


 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic