Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 21-11-2009
Member
 
Join Date: Nov 2009
Posts: 566
What is XPath

Hi,
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.
Reply With Quote
  #2  
Old 21-11-2009
Member
 
Join Date: May 2008
Posts: 2,293
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
Reply With Quote
  #3  
Old 21-11-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
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.
Reply With Quote
  #4  
Old 21-11-2009
Member
 
Join Date: May 2008
Posts: 2,383
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What is XPath"
Thread Thread Starter Forum Replies Last Post
How to Manipulate XML with XPath in VBScript Zavier Software Development 4 18-04-2010 03:05 AM
What are the XForms and XPath? Nathen Software Development 5 03-03-2010 05:35 AM
Problem with inline elements in XPath Solitario Software Development 2 25-10-2008 05:27 PM


All times are GMT +5.5. The time now is 09:55 AM.