Click here to Skip to main content
15,860,972 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: How can I put condition Pin
Morgs Morgan22-Sep-11 4:40
Morgs Morgan22-Sep-11 4:40 
GeneralRe: How can I put condition Pin
Noor201130-Sep-11 0:43
Noor201130-Sep-11 0:43 
QuestionXSLT Pin
AndyInUK14-Sep-11 3:55
AndyInUK14-Sep-11 3:55 
AnswerRe: XSLT Pin
Bassam Abdul-Baki15-Sep-11 4:51
professionalBassam Abdul-Baki15-Sep-11 4:51 
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 5:06
AndyInUK15-Sep-11 5:06 
GeneralRe: XSLT Pin
Rhys Gravell15-Sep-11 5:27
professionalRhys Gravell15-Sep-11 5:27 
GeneralRe: XSLT Pin
Bassam Abdul-Baki15-Sep-11 5:27
professionalBassam Abdul-Baki15-Sep-11 5:27 
AnswerRe: XSLT Pin
Andi Fandrich15-Sep-11 5:18
professionalAndi Fandrich15-Sep-11 5:18 
Have you tried something like this:

HTML
<xsl:template match="*|text()">
<xsl:value-of select="."/>
</xsl:template>


And then where you have this:
HTML
<xsl:for-each select="ABC/DEF">
    <tr>
      <td><xsl:value-of select="GHI" /></td><br/>
      <td><xsl:value-of select="." /></td>
    </tr>


replace the second
HTML
<td>
line:
HTML
<td><xsl:apply-templates/></td>


Edit: sorry, fixed the formatting
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 5:28
AndyInUK15-Sep-11 5:28 
AnswerRe: XSLT Pin
Rhys Gravell15-Sep-11 5:33
professionalRhys Gravell15-Sep-11 5:33 
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 5:49
AndyInUK15-Sep-11 5:49 
GeneralRe: XSLT Pin
chriselst15-Sep-11 5:56
chriselst15-Sep-11 5:56 
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 6:09
AndyInUK15-Sep-11 6:09 
GeneralRe: XSLT Pin
Bassam Abdul-Baki15-Sep-11 6:51
professionalBassam Abdul-Baki15-Sep-11 6:51 
GeneralRe: XSLT Pin
AndyInUK15-Sep-11 23:38
AndyInUK15-Sep-11 23:38 
GeneralRe: XSLT Pin
PIEBALDconsult16-Sep-11 5:20
mvePIEBALDconsult16-Sep-11 5:20 
GeneralRe: XSLT Pin
PIEBALDconsult15-Sep-11 18:10
mvePIEBALDconsult15-Sep-11 18:10 
QuestionShould we get rid of the redundant quotes now that HTML5 does it? Pin
ed welch12-Sep-11 11:20
ed welch12-Sep-11 11:20 
Questioni have question about rss xml. Pin
buffering837-Aug-11 16:41
buffering837-Aug-11 16:41 
AnswerRe: i have question about rss xml. Pin
Dr.Walt Fair, PE7-Aug-11 17:31
professionalDr.Walt Fair, PE7-Aug-11 17:31 
QuestionXSD question - Calling an xsd from another xsd Pin
bgallagher_lib4-Aug-11 5:06
bgallagher_lib4-Aug-11 5:06 
AnswerRe: XSD question - Calling an xsd from another xsd Pin
Ger Hayden5-Aug-11 23:24
Ger Hayden5-Aug-11 23:24 
Questiondisplat html via xslt macro Pin
benams26-Jul-11 3:31
benams26-Jul-11 3:31 
QuestionHow to Work with XML file in MFC Dialog based application? Pin
Le@rner25-Jul-11 20:29
Le@rner25-Jul-11 20:29 
AnswerRe: How to Work with XML file in MFC Dialog based application? - Repost Pin
Richard MacCutchan25-Jul-11 21:30
mveRichard MacCutchan25-Jul-11 21:30 

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.