Subject: Re: [xsl] getting the last value of a nodeset From: James Fuller <jim.fuller@xxxxxxxxxxxxxx> Date: Sun, 06 Feb 2005 14:05:25 +0100 |
hiaha, sorry didnt mean to change your question....sometimes folks get confused
I am sorry i do not want to evaluate the xpath expression. i would like to have the last segment of the xpath statement as i would be using that same string to name a control in my xhtml page. thus a control in an xhtml page and the node in an xml document would be matched and i can put the value thus entered from the user browser into the respective tag. thus i have to get the last string which represents a node in an xml document and name an xhtml control with the same. i hope i am clear
with regards,
Prasad
<?xml version="1.0" encoding="UTF-8"?> <test xmlns:xforms='http://www.example.org/xforms'>
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:xforms='http://www.example.org/xforms'>
last segment name: <xsl:call-template name="tail"> <xsl:with-param name="string" select="$variable"/> </xsl:call-template>
<xsl:call-template name="tail"> <xsl:with-param name="string" select="$variable"/> </xsl:call-template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] getting the last value of, Prasad Akella | Thread | [xsl] Permathreads. XSL-FO vs CSS, Pawson, David |
Re: [xsl] getting the last value of, Prasad Akella | Date | Re: [xsl] Decimal precision, Colin Paul Adams |
Month |