Subject: Re: [xsl] Format text within a XML tag... From: "Anders Wasen" <a_wasen@xxxxxxxxxxx> Date: Tue, 18 Jun 2002 12:12:09 +0200 |
<xsl:template match="/"> <xsl:for-each select="./Output"> <tr> <td>... some tags ...</td> </tr> <xsl:for-each select="./MapRule"> <tr> <td> <!-- Here I want to "mark" the comments --> <xsl:value-of select="./objectrule" /> </td> </tr> </xsl:for-each> </xsl:for-each> </xsl:template>
Thanks, Anders
From: David Carlisle <davidc@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Format text within a XML tag... Date: Tue, 18 Jun 2002 10:41:06 +0100
> <xsl:eval
there is no xsl:eval element in XSL. If you want solutions in XSL (that is, XSLT) then this is the right list to ask, if however that was not just a typo and you are looking for solutions in the proprietary (and deprecated) transformation language built into MSXML2 then this isn't the right list.
Assuming you are using the standard XSLT language then you basically just want to use a recursive template using the substring-before and and substring after functions to split up teh input string.
David
_____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
________________________________________________________ Anders Wasén a_wasen@xxxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Format text within a XML , Peter Davis | Thread | Re: [xsl] Format text within a XML , David Carlisle |
Re: [xsl] Writing a stylesheet to c, David Carlisle | Date | Re: [xsl] simple xsl:choose questio, Meir |
Month |