No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
- PC Specs
- http://varun0703.blogspot.com
9 Posted Topics
Re: U have to use recursion for this task. Give me an instance and i'll solve that problem.... :) | |
Re: Hi Liveland, In this XSLT , the value of sort param is blank or null. In used <xsl:choose> u dont have any <xsl:when> which can test for null value of $sort. So it is going to <xsl:otherwise>. # <xsl:param name="sort">DATE</xsl:param> use this line in place of urs, it'll enter into … | |
Re: Put ur XML data here which u r using as a input. | |
Re: Use following code:- <bb> <xsl:for-each select="//x"> <xsl:if test="position() <6"> <xsl:copy-of select="."/> </xsl:if> </xsl:for-each> </bb> <cc> <xsl:for-each select="//x"> <xsl:if test="position() >5"> <xsl:copy-of select="."/> </xsl:if> </xsl:for-each> </cc> | |
Re: use this X-Path :- //DECK/ANSWER[@id[contains(.,'_STYLE')]]/@valueSrc | |
Re: Hi, Dont wrry!!! i'll solve that but i need XML data ??? would u like to paste ur XML content here so that i might write correct x-Path????? | |
Re: [QUOTE=k_manimuthu;1116055]Hi All, I am trying to get the maximum no of column in a table through XSLT code. Below i had placed the sample table format. Here column tagged as 'th' and 'td'. Some of the column having 'colspan' attribute. I am struggling how to add colspan value in a … | |
Re: Firstly, this XML is not well-formed. Use any root element. Suppose u added <doc>at the beginning and </doc> at last then..... use . <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:template match="/"> <xsl:for-each select=".//*[@text='catalog']"> <xsl:element name="{@text}"> <xsl:for-each select="./*"> <xsl:element name="{@text}"> <xsl:for-each select="./*"> <xsl:element name="{@text}"><xsl:value-of select="./*/@text"/></xsl:element> </xsl:for-each> </xsl:element> </xsl:for-each> </xsl:element> </xsl:for-each> </xsl:template> </xsl:stylesheet> u'll surely … | |
|
The End.