0 Replies Latest reply on Jun 4, 2012 7:49 AM by 941395

    Need Help with XPointer java example

      Hi Everyone,

      We need help regarding the XPointer usage in Java. In theory we completely understand how XPointer works and we have read the spec even. The Problem is the implementation.

      We cannot find any implementation for XPointer API. We have cweb, Xerces-J, even JDK 1.6 but we are unable to understand how to use the XPointer.

      Our index xml file will have references to all the resources like:
      <superlink xlink:type="extended" xlink:show="new" xlink:actuate="onRequest">
      <locator xlink:type="locator"
      *xlink:href="http://localhost:8080/Docgeneration_web/xmlfiles/AlmondDescription1.xml#description1//description[@id='almond description']"*
      xlink:title="almond description" xlink:show="replace" xlink:actuate="onRequest" xlink:role="description" rank="2">

      We have the xml files in a tomcat server and the superlink holds links to the specific part in the xml. We are unable to understand how to use XPointer API.

      Any help is appreciated with XPointer. Like how to use it, parse xpointer expressions. Awaiting reply. Thank you.