XPointer

  Home  Applications Programs  XPointer


“XPointer Interview Questions and Answers will guide us now that XPointer is a system for addressing components of XML based internet media. XPointer is divided among four specifications, a framework which forms the basis for identifying XML fragments, a positional element addressing scheme, a scheme for namespaces, so learn more about XPointer by the help of this XPointer Interview Questions with Answers guide”



19 XPointer Questions And Answers

1⟩ Define XPointer?

XPointer is an compact name of XML Pointer Language.

XPointer give facility hyperlink to point one or parts in an XML document.

 181 views

2⟩ Explain about XML signature?

XML signature is recommended by w3c. It acts as a digital signature for XML documents. This technology is used by various technologies such as SAML, SOAP, etc.

 189 views

3⟩ What 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.

 199 views

4⟩ How do I 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.

 174 views

6⟩ What is XML registry?

An infrastructure that enables the building, deployment, and discovery of Web services. It is a neutral third party that facilitates dynamic and loosely coupled business-to-business (B2B) interactions.

 195 views

7⟩ What is 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.

 202 views

8⟩ 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 #.

Example:

href="http://www.allexamples.com/cdlist.xml#id('kate').child(4,item)"

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

 210 views

9⟩ Define XML registry?

An infrastructure that enables the building, deployment, and discovery of Web services. It is a neutral third party that facilitates dynamic and loosely coupled business-to-business (B2B) interactions.

 193 views

10⟩ How to integrate XPointer into my application?

There are several ways to do this. The easiest is to use the uberjar release, which can be directly executed on any Java enabled platform. This makes it trivial to test and develop XPointer support in your applications, including server-side XPointer. The uberjar release contains a Java class org.CognitiveWeb.xpointer.XPointerDriver that provides a simple but flexible command line utility that exposes an XPointer processor.

 188 views

11⟩ 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.

 190 views

12⟩ 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.

 188 views

13⟩ 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.

 182 views

14⟩ 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.

 214 views

15⟩ 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.

 173 views

16⟩ 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.

 201 views

17⟩ 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.

 185 views

18⟩ 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.

 184 views

19⟩ 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.

 196 views