|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: A problem with loop and Concat....
Mukul.Mudgal@xxxxxxxxxxx wrote:
I'm trying to write a xsl file to transform this That's very simple one, where was your trouble? <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="WhereDetails"> <WHERE> <xsl:attribute name="Value"> <xsl:apply-templates/> </xsl:attribute> </WHERE> </xsl:template> <xsl:template match="Description"> <xsl:value-of select="@Name"/> <xsl:text> </xsl:text> <xsl:value-of select="@Condition"/> <xsl:text> </xsl:text> <xsl:value-of select="@Value"/> <xsl:text> </xsl:text> <xsl:choose> <xsl:when test="@Operator"> <xsl:value-of select="@Operator"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="../@Operator"/> </xsl:otherwise> </xsl:choose> <xsl:text> </xsl:text> </xsl:template> </xsl:stylesheet> -- Oleg Tkachenko Multiconn International, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








