TechArena Community

TechArena Community (
-   Software Development (
-   -   What is XPath (

Eleeazar 21-11-2009 05:23 AM

What is XPath
Does anyone is properly familiar with XPath. What is it actually. Second thing I had sample application created by a different user. This application does not brings back any mistakes implemented. In the same application how can I string to uppercase / lowercase. And in the same way what is the way by which I can delete a character in a string. Thanks in advance.

Zecho 21-11-2009 05:24 AM

Re: What is XPath
XPath is a language with a non-XML syntax, allows to address different nodes or groups of nodes of a particular XML document. XPath sees the XML document as a tree of nodes, it can travel axes (son , parent, ancestor, descendant, ...) and selecting nodes by their name. XPath expressions can also represent strings, numbers and booleans. XPath is heavily used by other languages and XML technologies, including XSLT, W3C XML Schema, XLink, XForms ... See the tutorial on XPath

Reegan 21-11-2009 05:28 AM

Re: What is XPath
There can be some issue with the XPath search node. In XPath search to select a node that does not exist is not an error, the XPath engine is simply returned an empty list. XPath is case-sensitive, therefore check writing tags in your expression, or perhaps you have used predicates (conditions in brackets) too restrictive.

opaper 21-11-2009 05:30 AM

Re: What is XPath
Using the translate function: translate (string, 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ') you can change the upper case to lower case. And if you want to delete a character then you can use the translate () XPath function is a replacement by other characters and can also be used to delete characters by using it without giving wildcards to traits.

All times are GMT +5.5. The time now is 12:15 AM.