Click here to Skip to main content
15,910,118 members
Home / Discussions / XML / XSL
   

XML / XSL

 
Questionhow to use the distinct-nodes function? Pin
Rocky#11-Sep-07 0:30
Rocky#11-Sep-07 0:30 
Questiongeneralizing the tabular display of xml data Pin
Rocky#10-Sep-07 20:23
Rocky#10-Sep-07 20:23 
QuestionHow to XSL parse 300 mg XML file? Pin
mcsdgal7-Sep-07 8:21
mcsdgal7-Sep-07 8:21 
NewsReding xml node in windows Forms [modified] Pin
chakran6-Sep-07 1:10
chakran6-Sep-07 1:10 
GeneralRe: Reding xml node in windows Forms Pin
Chetan Patel7-Sep-07 2:39
Chetan Patel7-Sep-07 2:39 
AnswerRe: Reding xml node in windows Forms Pin
israr Ali .NET7-Sep-07 2:39
israr Ali .NET7-Sep-07 2:39 
QuestionCalling a template recursively?? Pin
Rocky#5-Sep-07 0:23
Rocky#5-Sep-07 0:23 
AnswerRe: Calling a template recursively?? Pin
George L. Jackson5-Sep-07 2:15
George L. Jackson5-Sep-07 2:15 
Here is an example:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<title>Call Sequence</title>
</head>
<body>
<xsl:apply-templates select="."/>
</body>
</html>
</xsl:template>
<xsl:template match="CallSequence">
<xsl:for-each select="Call">
<xsl:choose>
<xsl:when test="CallSequence">
<xsl:apply-templates select="CallSequence"/>
</xsl:when>
<xsl:otherwise>
<!--Process the other child nodes-->
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>

</xsl:stylesheet>



"We make a living by what we get, we make a life by what we give." --Winston Churchill

GeneralRe: Calling a template recursively?? Pin
Rocky#5-Sep-07 2:57
Rocky#5-Sep-07 2:57 
GeneralRe: Calling a template recursively?? Pin
Rocky#5-Sep-07 3:05
Rocky#5-Sep-07 3:05 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson5-Sep-07 5:56
George L. Jackson5-Sep-07 5:56 
GeneralRe: Calling a template recursively?? Pin
Rocky#5-Sep-07 18:53
Rocky#5-Sep-07 18:53 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson6-Sep-07 1:50
George L. Jackson6-Sep-07 1:50 
GeneralRe: Calling a template recursively?? Pin
Rocky#5-Sep-07 19:50
Rocky#5-Sep-07 19:50 
GeneralRe: Calling a template recursively?? Pin
Rocky#6-Sep-07 1:30
Rocky#6-Sep-07 1:30 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson6-Sep-07 1:54
George L. Jackson6-Sep-07 1:54 
GeneralRe: Calling a template recursively?? Pin
Rocky#6-Sep-07 2:17
Rocky#6-Sep-07 2:17 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson6-Sep-07 2:25
George L. Jackson6-Sep-07 2:25 
GeneralRe: Calling a template recursively?? Pin
Rocky#6-Sep-07 2:33
Rocky#6-Sep-07 2:33 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson6-Sep-07 2:41
George L. Jackson6-Sep-07 2:41 
GeneralRe: Calling a template recursively?? [modified] Pin
Rocky#6-Sep-07 20:33
Rocky#6-Sep-07 20:33 
GeneralFound where the bug is now Pin
Rocky#6-Sep-07 21:20
Rocky#6-Sep-07 21:20 
GeneralRe: Calling a template recursively?? Pin
Rocky#7-Sep-07 0:09
Rocky#7-Sep-07 0:09 
GeneralRe: Calling a template recursively?? Pin
George L. Jackson7-Sep-07 2:49
George L. Jackson7-Sep-07 2:49 
GeneralRe: Calling a template recursively?? Pin
Rocky#8-Sep-07 0:10
Rocky#8-Sep-07 0:10 

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.