1. Which XPointer schemes are supported in this release?

The XPointer integration distributions support shorthand pointers. In addition, they bundle support for at last the following XPointer schemes:
-- xmlns()
-- element()
-- xpath() - This is not a W3C defined XPointer scheme since W3C has not published an XPointer sheme for XPath. The namespace URI for this scheme is http://www.cogweb.org/xml/namespace/xpointer . It provides for addressing XML subresources using a XPath 1.0 expressions.

2. How to implement an application-specific XPointer scheme?

Implement org.CognitiveWeb.xpointer.ISchemeProcessor.
The XPointer Framework is extensible. One of the very coolest things about this is that you can develop your own XPointer schemes that expose your application using the data model that makes the most sense for your application clients.
For example, let's say that you have a CRM application. The important logical addressing units probably deal with concepts such as customers.

3. Define server-side XPointer?

The XPointer Framework provides an authoritative and extensible interpretation of the semantics of fragment identifiers for XML media types. However, HTTP does NOT transmit the fragment identifier as part of the HTTP request.

4. How to configure an XPointer processor?

There is no required configuration for the XPointer Framework. The uberjar command line utility provides some configuration options. Applications configure individual XPointer processors when they obtain an instance from an appropriate XPointerProcessor factory method.

5. Which characters are allowed in a qualified name?

The prefix can contain any character that is allowed in the Name production in XML 1.0 except a colon. The same is true of the local name. Thus, there can be at most one colon in a qualified name -- the colon used to separate the prefix from the local name.

6. Define xpointer resources?

You can use the XPointer Framework with non-XML resources. This is especially effective when your resource is backed by some kind of a DBMS, or when you want to query a data model, such as RDF, and not the XML syntax of a representation of that data model.

7. How you can install the XPointer processor?

Download the latest "cweb-xpointer" release from SourceForge. This project uses Apache Maven and Java 1.4+, so you will need to install those as well. Normally you will also want to download one of the XPointer Framework integrations, such as the xpointer+dom4j or the xpointer+jdom package. These "integration packages" provide support for a specific XML Document model.

8. Define the specification of XPointer?

The part of the XLL specification that is concerned with identifying sections of documents so that they can be referenced in links or included in other documents.

9. How you can use XPointer?

In x pointer we use anchor tags to create hyperlinks. On the same lines we can create hyperlinks in an XML document using X pinter. With X pointer we can define two types of link : simple and extended. Simple links are links similar to HTML links and extended links are used for linking multiple resources together.

10. Define the syntax of XPointer?

We use XPointer to made hyperlink that point one or more parts in an XML document.means using XPointer we can made a hyperlink that point points to web page or bookmarks that are inside the web page by using #.


In the above example we use XPointer to point the fourth item in a list with a unique id "kate":

Download Interview PDF