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

XML / XSL

 
GeneralRe: xml version 6.0 Pin
WhiteGirl238-Mar-07 22:46
WhiteGirl238-Mar-07 22:46 
Questionusing position() Pin
Russell Jones8-Mar-07 4:16
Russell Jones8-Mar-07 4:16 
AnswerRe: using position() Pin
Russell Jones8-Mar-07 5:40
Russell Jones8-Mar-07 5:40 
QuestionUse of XSL Variable or Param Pin
Abubakarsb7-Mar-07 23:59
Abubakarsb7-Mar-07 23:59 
AnswerRe: Use of XSL Variable or Param Pin
Mark J. Miller8-Mar-07 6:59
Mark J. Miller8-Mar-07 6:59 
GeneralRe: Use of XSL Variable or Param Pin
Abubakarsb13-Mar-07 12:14
Abubakarsb13-Mar-07 12:14 
GeneralRe: Use of XSL Variable or Param Pin
Mark J. Miller13-Mar-07 12:41
Mark J. Miller13-Mar-07 12:41 
GeneralRe: Use of XSL Variable or Param Pin
Abubakarsb13-Mar-07 12:52
Abubakarsb13-Mar-07 12:52 
I am getting values from webservice and using xsl file to format it. hereby I am sending u xsl file code. I just want that

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

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="ID"></xsl:param>
<xsl:param name="searchString"></xsl:param>
<xsl:template match="Category">

<xsl:for-each select="./Clip">
<xsl:choose>
<xsl:when test="Title = $searchString or ./MetaData/ArticleName = $searchString">
<!-- Set value of a param to 'true' which means record Found -->
</xsl:when>
<xsl:otherwise>
<!-- Set value of a param to 'false' which means record not Found -->
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>

<!--Make a check here whether record found or not -->
<xsl:if test="$paramName='true'">
// do something
</xsl:if>
<xsl:if test="$paramName!='true'">
// do something else
</xsl:if>
</xsl:template>

</xsl:stylesheet>
GeneralRe: Use of XSL Variable or Param Pin
Mark J. Miller13-Mar-07 13:32
Mark J. Miller13-Mar-07 13:32 
QuestionString in XSLT Pin
w13RTH70Lo6-Mar-07 2:52
w13RTH70Lo6-Mar-07 2:52 
QuestionDataSet in XSLT Pin
w13RTH70Lo5-Mar-07 22:17
w13RTH70Lo5-Mar-07 22:17 
QuestionXSLT Permomance : for-each vs apply-templates Pin
SIJUTHOMASP5-Mar-07 11:04
professionalSIJUTHOMASP5-Mar-07 11:04 
AnswerRe: XSLT Permomance : for-each vs apply-templates Pin
George L. Jackson6-Mar-07 17:10
George L. Jackson6-Mar-07 17:10 
QuestionMSXML 5.0 SDK Pin
Andy H5-Mar-07 3:52
Andy H5-Mar-07 3:52 
AnswerRe: MSXML 5.0 SDK Pin
Dmitry Khudorozhkov5-Mar-07 7:12
Dmitry Khudorozhkov5-Mar-07 7:12 
GeneralRe: MSXML 5.0 SDK Pin
Andy H5-Mar-07 7:55
Andy H5-Mar-07 7:55 
GeneralRe: MSXML 5.0 SDK Pin
Stefan Troschuetz5-Mar-07 19:52
Stefan Troschuetz5-Mar-07 19:52 
GeneralRe: MSXML 5.0 SDK Pin
Andy H5-Mar-07 20:30
Andy H5-Mar-07 20:30 
QuestionMerging 2 XML documents Pin
w13RTH70Lo4-Mar-07 2:58
w13RTH70Lo4-Mar-07 2:58 
Questionpassing array as argument in XSLt Pin
w13RTH70Lo3-Mar-07 2:55
w13RTH70Lo3-Mar-07 2:55 
QuestionXSLT exception handling Pin
rana742-Mar-07 19:29
rana742-Mar-07 19:29 
QuestionRead xml file into HTML table Pin
thedom228-Feb-07 13:41
thedom228-Feb-07 13:41 
AnswerRe: Read xml file into HTML table Pin
Stefan Troschuetz28-Feb-07 21:11
Stefan Troschuetz28-Feb-07 21:11 
GeneralRe: Read xml file into HTML table Pin
thedom21-Mar-07 0:17
thedom21-Mar-07 0:17 
GeneralRe: Read xml file into HTML table Pin
Stefan Troschuetz1-Mar-07 0:40
Stefan Troschuetz1-Mar-07 0:40 

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.