Click here to Skip to main content
15,921,622 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: how xml embeds (saves) an image Pin
Asim N.26-Nov-02 13:49
Asim N.26-Nov-02 13:49 
GeneralRe: how xml embeds (saves) an image Pin
Michael A. Barnhart26-Nov-02 14:00
Michael A. Barnhart26-Nov-02 14:00 
GeneralCreating an attribute of a node Pin
Bash24-Nov-02 22:58
Bash24-Nov-02 22:58 
GeneralRe: Creating an attribute of a node Pin
Christian Graus26-Nov-02 19:53
protectorChristian Graus26-Nov-02 19:53 
GeneralAutomatic processing XML/XSLT on client or server side Pin
Kosta Cherry23-Nov-02 11:45
Kosta Cherry23-Nov-02 11:45 
GeneralRe: Automatic processing XML/XSLT on client or server side Pin
Michael A. Barnhart23-Nov-02 15:37
Michael A. Barnhart23-Nov-02 15:37 
GeneralAppling XSL to XML - select attribute of node Pin
Bash21-Nov-02 23:46
Bash21-Nov-02 23:46 
GeneralRe: Appling XSL to XML - select attribute of node Pin
Michael A. Barnhart22-Nov-02 1:22
Michael A. Barnhart22-Nov-02 1:22 
I think this is closer to what you are looking for

You have spelled trafficeReport with and without a capital T. Not the same element.

the xsl:attribute -> Generates an attribute in the destination document. I do not think you were creating a new attribute but just using the value of what you have.

http://www.vbxml.com/xsl/XSLTRef.asp is a fairly good online reference.


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

<xsl:template match="/">
<HTML><body>
<table cellspacing="0" cellpadding="5" border="1">
<xsl:for-each select="trafficReport/Filter">
<tr>
<td STYLE="font-family:Arial; font-size:12">
<xsl:value-of select="@Id"/>
</td>
<td STYLE="font-family:Arial; font-size:12">
<xsl:value-of select="Name"/>
</td>
<td STYLE="font-family:Arial; font-size:12">
<xsl:value-of select="Sent"/>
</td>
<td STYLE="font-family:Arial; font-size:12">
<xsl:value-of select="Recv"/>
</td>
</tr>
</xsl:for-each>

</table>
</body>
</HTML>
</xsl:template>
</xsl:stylesheet>


<b><i>"I will find a new sig someday."</i></b>
QuestionHow to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Kosta Cherry20-Nov-02 16:24
Kosta Cherry20-Nov-02 16:24 
AnswerRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Christian Graus20-Nov-02 16:33
protectorChristian Graus20-Nov-02 16:33 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Kosta Cherry20-Nov-02 16:47
Kosta Cherry20-Nov-02 16:47 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Christian Graus20-Nov-02 17:07
protectorChristian Graus20-Nov-02 17:07 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Michael A. Barnhart21-Nov-02 0:16
Michael A. Barnhart21-Nov-02 0:16 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Michael A. Barnhart21-Nov-02 0:09
Michael A. Barnhart21-Nov-02 0:09 
AnswerRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Philip Fitzsimons21-Nov-02 0:46
Philip Fitzsimons21-Nov-02 0:46 
AnswerRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Kosta Cherry21-Nov-02 10:43
Kosta Cherry21-Nov-02 10:43 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Christian Graus21-Nov-02 10:49
protectorChristian Graus21-Nov-02 10:49 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Kosta Cherry21-Nov-02 14:14
Kosta Cherry21-Nov-02 14:14 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Christian Graus21-Nov-02 15:09
protectorChristian Graus21-Nov-02 15:09 
GeneralXSL Pin
James Spibey15-Nov-02 2:34
James Spibey15-Nov-02 2:34 
GeneralRe: XSL Pin
Paul Watson15-Nov-02 2:43
sitebuilderPaul Watson15-Nov-02 2:43 
GeneralRe: XSL Pin
James Spibey15-Nov-02 3:28
James Spibey15-Nov-02 3:28 
GeneralRe: XSL Pin
Philip Fitzsimons15-Nov-02 11:03
Philip Fitzsimons15-Nov-02 11:03 
GeneralRe: XSL Pin
Paul Watson16-Nov-02 0:45
sitebuilderPaul Watson16-Nov-02 0:45 
GeneralRe: XSL Pin
Michael A. Barnhart16-Nov-02 9:37
Michael A. Barnhart16-Nov-02 9:37 

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.