cancel
Showing results for 
Search instead for 
Did you mean: 

abt XPATH

Former Member
0 Kudos

Hi xires,

can any one tell me abt XPATH and XSLT .

Edited by: venkata sampath on Jun 4, 2008 9:13 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member182455
Active Contributor
0 Kudos

Hi sampath,

XPath is a language for finding information in an XML document. XPath is used to navigate through elements and attributes in an XML document.

What is XPath?

u2022XPath is a syntax for defining parts of an XML document

u2022XPath uses path expressions to navigate in XML documents

u2022XPath contains a library of standard functions

u2022XPath is a major element in XSLT

XPath Path Expressions

XPath uses path expressions to select nodes or node-sets in an XML document. These path expressions look very much like the expressions you see when you work with a traditional computer file system.

XPath Standard Functions

XPath includes over 100 built-in functions. There are functions for string values, numeric values, date and time comparison, node and QName manipulation, sequence manipulation, Boolean values, and more.

XPath is Used in XSLT

XPath is a major element in the XSLT standard. Without XPath knowledge you will not be able to create XSLT documents.

XSLT Functions

XSLT includes over 100 built-in functions. There are functions for string values, numeric values, date and time comparison, node and QName manipulation, sequence manipulation, Boolean values, and more.

XQuery and XPointer are both built on XPath expressions. XQuery 1.0 and XPath 2.0 share the same data model and support the same functions and operators.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb9...

Regards

Srinivas reddy

Former Member
0 Kudos

Hi,

Receiver Det- Xpath:

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

XPATH in Interfce Det:

/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

X-Path in XSLT Mapping

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

Regards

Seshagiri

Former Member
0 Kudos

Xpath is nothing but access to a particular field in a structure

Example:

Employee

Finance

Salary

Tax

PF

Now if i want to write a condition that if employee's salary is greater than 10,000 put him in grade A etc.,

So for this i need to access the salary field
Employee\Finance\Salary so this path is nothing but XPath

XSLT is one of Mapping Techniques generally used when you use Mail Adapter in your scenario

Former Member
0 Kudos

Hi Sampath,

Check this:

/people/daniel.graversen/blog/2006/12/29/hack-using-xpath-in-xi-message-mappings

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

Regards,

Subhasha