Click here to Skip to main content
15,895,283 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: reading XML-File from buffer Pin
aacool11-Oct-04 5:54
aacool11-Oct-04 5:54 
GeneralSending XML to server via HTTP Pin
sgivoni11-Oct-04 0:38
sgivoni11-Oct-04 0:38 
GeneralRe: Sending XML to server via HTTP Pin
Alex Korchemniy16-Oct-04 11:33
Alex Korchemniy16-Oct-04 11:33 
GeneralXSL Transform to HTML Pin
Adam Gritt8-Oct-04 4:54
Adam Gritt8-Oct-04 4:54 
GeneralRe: XSL Transform to HTML Pin
Christian Graus17-Oct-04 11:03
protectorChristian Graus17-Oct-04 11:03 
GeneralHTML with XSLT Pin
hatim_ali7-Oct-04 18:30
hatim_ali7-Oct-04 18:30 
GeneralRe: HTML with XSLT Pin
rt28007-Oct-04 18:58
professionalrt28007-Oct-04 18:58 
GeneralXSLT - HTML Pin
hatim_ali7-Oct-04 18:28
hatim_ali7-Oct-04 18:28 
hi folks...

<br />
<xsl:choose><br />
  <xsl:when test="./test[1]/@result != 'failed'"><br />
    <tr style="color:green; font-family:verdana; font-size:12 px;"><br />
  </xsl:when><br />
  <xsl:otherwise><br />
    <tr style="color:red; font-family:verdana; font-size:12 px;"><br />
  </xsl:otherwise><br />
</xsl:choose><br />
  <td width="60%" style="border:gray 1px solid;"><br />
    <xsl:value-of select="@name"/><br />
  </td><br />
</tr><br />


I need to change the color of tr to red when @result attribute contains "failed". When i executed above snippet i got the following error.

"End tag 'xsl:when' doesn't match the start tag 'tr'"??

Any workarounds ??

Thanks in advance...

Regards,
Hatim Ali.
GeneralRe: XSLT - HTML Pin
Christian Graus19-Oct-04 10:10
protectorChristian Graus19-Oct-04 10:10 
GeneralRe: XSLT - HTML Pin
Het210926-Oct-04 3:10
Het210926-Oct-04 3:10 
Generalmsxml DOM and character entities Pin
necroleak6-Oct-04 6:03
sussnecroleak6-Oct-04 6:03 
GeneralXML &amp; character entities Pin
necroleak6-Oct-04 1:01
sussnecroleak6-Oct-04 1:01 
GeneralRe: XML &amp; character entities Pin
necroleak6-Oct-04 2:42
sussnecroleak6-Oct-04 2:42 
GeneralWrite XmlElement Pin
Aubyone5-Oct-04 19:49
Aubyone5-Oct-04 19:49 
Generalusing xslt params to search for elements Pin
Mike Hodnick2-Oct-04 18:30
Mike Hodnick2-Oct-04 18:30 
GeneralRe: using xslt params to search for elements Pin
Mike Ellison2-Oct-04 18:38
Mike Ellison2-Oct-04 18:38 
GeneralRe: using xslt params to search for elements Pin
Mike Hodnick2-Oct-04 18:56
Mike Hodnick2-Oct-04 18:56 
GeneralRe: using xslt params to search for elements Pin
Stuart Dootson2-Oct-04 22:04
professionalStuart Dootson2-Oct-04 22:04 
GeneralRe: using xslt params to search for elements Pin
Stuart Dootson2-Oct-04 22:36
professionalStuart Dootson2-Oct-04 22:36 
GeneralRe: using xslt params to search for elements Pin
Mike Hodnick3-Oct-04 2:07
Mike Hodnick3-Oct-04 2:07 
GeneralMY very own language Pin
shiko2-Oct-04 7:26
shiko2-Oct-04 7:26 
GeneralRe: MY very own language Pin
Alex Korchemniy16-Oct-04 11:27
Alex Korchemniy16-Oct-04 11:27 
QuestionHow to populate grid without reforming an xml Pin
manivannan.p2-Oct-04 2:05
manivannan.p2-Oct-04 2:05 
GeneralXSL For Loop Problem while using variable Pin
jjjkkk1-Oct-04 12:21
jjjkkk1-Oct-04 12:21 
GeneralRe: XSL For Loop Problem while using variable Pin
Mike Ellison1-Oct-04 20:06
Mike Ellison1-Oct-04 20:06 

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.