xml xsl xpath

Posted on 2014-10-20
Last Modified: 2014-11-03
I would like to know about XSL, XPATH, XML.
I see in my project code like belw


<xsl:with-param name="VALUE" select="lll"/>

<xsl:if test="$ABC_CD = 'AA'">
                        <xsl:call-template name="MapAmtWithKindCd">

<xPath>concat(rollNbr, '|', nbr)</xPath>

I am not clear what above code means and what it does. please advise.

Any good tutorials, resources, practice links, quiz links, video tutorials on these topics. Thanks in advance
Question by:gudii9
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 60

Accepted Solution

Geert Bormans earned 500 total points
ID: 40392366
<xsl:with-param name="VALUE" select="lll"/>

Open in new window

is calling a named template (something like a function, with a variable (parameter) "VALUE" that has the value of the Ill child element
Note that this code is in error since call-template requires a known @name

<xsl:if test="$ABC_CD = 'AA'">
                        <xsl:call-template name="MapAmtWithKindCd">

Open in new window

If the variable $ABC_CD has the string value 'AA" call the template (named template behaves like a function) 'MapAmtWithKindCd'

<xPath>concat(rollNbr, '|', nbr)</xPath>

Open in new window

these are simply nodes that will be copied to the output tree, nothing fancy, literal results
BUT they give the impression of being a generator for some sort of XPath logic, som maybe you are generating a stylesheet generator?

Author Comment

ID: 40400111
any good links, tutorials, video tutorials to learn these concept easily and in simple manner. please advise
LVL 60

Expert Comment

by:Geert Bormans
ID: 40400120

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jboss 7.1 start up error 1 64
JAVA API design with micro service cloud in mind 1 82
VB.Net. Reading xml value 6 39
C# Formatting DateTime String Value 5 52
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question