Click here to Skip to main content
15,925,661 members
Home / Discussions / XML / XSL
   

XML / XSL

 
Questionerror LNK2019 Pin
sandeepkavade12-Apr-07 3:38
sandeepkavade12-Apr-07 3:38 
QuestionRe: error LNK2019 Pin
sthotakura13-Apr-07 13:06
sthotakura13-Apr-07 13:06 
QuestionSOAP response meassage Datacompression Pin
Giri K10-Apr-07 20:27
Giri K10-Apr-07 20:27 
AnswerRe: SOAP response meassage Datacompression Pin
Dmitry Khudorozhkov16-Apr-07 12:28
Dmitry Khudorozhkov16-Apr-07 12:28 
GeneralRe: SOAP response meassage Datacompression Pin
Giri K17-Apr-07 14:12
Giri K17-Apr-07 14:12 
GeneralRe: SOAP response meassage Datacompression Pin
Dmitry Khudorozhkov17-Apr-07 19:41
Dmitry Khudorozhkov17-Apr-07 19:41 
QuestionRecursive XSL Transform Pin
eggie510-Apr-07 10:48
eggie510-Apr-07 10:48 
AnswerRe: Recursive XSL Transform Pin
eggie510-Apr-07 11:29
eggie510-Apr-07 11:29 
I don't understand why.... but somehow this works:

<?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">

<ul class="posts">
<xsl:for-each select="posts/post">
<li class="post">
<xsl:value-of select="title"/>, <xsl:value-of select="name"/>
<p>
<xsl:value-of select="message" />
</p>


<xsl:call-template name="GetComments" />

</li>
</xsl:for-each>
</ul>

</xsl:template>

<xsl:template name="GetComments">

<xsl:param name="count" select="2"/>
<xsl:if test="comment">
<ul class="comments">
<xsl:for-each select="comment">
<li class="comment">
<xsl:value-of select="title"/>, <xsl:value-of select="name"/>
<p>
<xsl:value-of select="message" />
</p>
</li>
<xsl:call-template name="GetComments">
<xsl:with-param name="count" />
</xsl:call-template>
</xsl:for-each>
</ul>
</xsl:if>
</xsl:template>

</xsl:stylesheet>



/\ |_ E X E GG
GeneralRe: Recursive XSL Transform [modified] Pin
George L. Jackson12-Apr-07 13:24
George L. Jackson12-Apr-07 13:24 
GeneralRe: Recursive XSL Transform Pin
eggie512-Apr-07 16:40
eggie512-Apr-07 16:40 
GeneralRe: Recursive XSL Transform Pin
George L. Jackson13-Apr-07 1:42
George L. Jackson13-Apr-07 1:42 
QuestionXml as argument in JS Pin
Ollie198610-Apr-07 4:07
Ollie198610-Apr-07 4:07 
AnswerRe: Xml as argument in JS Pin
Dmitry Khudorozhkov10-Apr-07 4:32
Dmitry Khudorozhkov10-Apr-07 4:32 
GeneralRe: Xml as argument in JS Pin
Ollie198610-Apr-07 4:34
Ollie198610-Apr-07 4:34 
GeneralRe: Xml as argument in JS Pin
Dmitry Khudorozhkov10-Apr-07 4:42
Dmitry Khudorozhkov10-Apr-07 4:42 
GeneralRe: Xml as argument in JS Pin
Ollie198611-Apr-07 22:26
Ollie198611-Apr-07 22:26 
QuestionProblem in inserting large amount of data in XML file Pin
Affan Toor10-Apr-07 3:59
Affan Toor10-Apr-07 3:59 
AnswerRe: Problem in inserting large amount of data in XML file Pin
Dmitry Khudorozhkov10-Apr-07 4:36
Dmitry Khudorozhkov10-Apr-07 4:36 
GeneralRe: Problem in inserting large amount of data in XML file Pin
Affan Toor10-Apr-07 4:42
Affan Toor10-Apr-07 4:42 
GeneralRe: Problem in inserting large amount of data in XML file Pin
Dmitry Khudorozhkov10-Apr-07 4:50
Dmitry Khudorozhkov10-Apr-07 4:50 
GeneralRe: Problem in inserting large amount of data in XML file Pin
Affan Toor10-Apr-07 4:58
Affan Toor10-Apr-07 4:58 
AnswerRe: Problem in inserting large amount of data in XML file Pin
led mike10-Apr-07 4:37
led mike10-Apr-07 4:37 
GeneralRe: Problem in inserting large amount of data in XML file Pin
Affan Toor10-Apr-07 4:54
Affan Toor10-Apr-07 4:54 
GeneralRe: Problem in inserting large amount of data in XML file Pin
Dmitry Khudorozhkov10-Apr-07 5:09
Dmitry Khudorozhkov10-Apr-07 5:09 
GeneralRe: Problem in inserting large amount of data in XML file Pin
led mike10-Apr-07 5:14
led mike10-Apr-07 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.