Click here to Skip to main content
15,909,898 members
Home / Discussions / XML / XSL
   

XML / XSL

 
Questioncall a method from a xslt file? Pin
basidati17-Jun-04 23:59
basidati17-Jun-04 23:59 
Questionhow to communicate between the layers of n-tier archietecture using xml Pin
irsh_is15-Jun-04 23:15
irsh_is15-Jun-04 23:15 
GeneralSchema problem.. Pin
Goozi15-Jun-04 22:56
Goozi15-Jun-04 22:56 
GeneralRe: Schema problem.. Pin
Cohen17-Jun-04 0:51
Cohen17-Jun-04 0:51 
GeneralThanks.. Pin
Goozi17-Jun-04 14:07
Goozi17-Jun-04 14:07 
GeneralXML Schema Pin
15-Jun-04 11:05
suss15-Jun-04 11:05 
GeneralRe: XML Schema Pin
jongheeda16-Jun-04 13:12
jongheeda16-Jun-04 13:12 
QuestionOnly perform sum on certain data? Pin
Bart-Man15-Jun-04 4:34
Bart-Man15-Jun-04 4:34 
Greetings,

I am trying to only sum up the values from a xml record using a xsl file.
I am currently using msxml 4.0 within a windows xp environment.

Here is my xml data format example:
----------------------------
<?xml version="1.0" encoding="UTF-16"?>
<XML>
<DATA>
<Name>TestName</Name>
<Value>10</Value>
</DATA>
<DATA>
<Name>TestName2</Name>
<Value>15</Value>
</DATA>
<DATA>
<Name>TestName</Name>
<Value>100</Value>
</DATA>
</XML>

What I am trying to do is add all the record's "Value" node where name is equal to "TestName". So I would only add the Value Nodes of "10" and "100" = "110"
(Desired OutputSmile | :)
TestName: 110

Thanks in advance for any suggestions!

AnswerSOLUTION Pin
Bart-Man15-Jun-04 5:51
Bart-Man15-Jun-04 5:51 
GeneralPagination using xsl Pin
Bhagwati15-Jun-04 2:07
Bhagwati15-Jun-04 2:07 
GeneralRe: Pagination using xsl Pin
15-Jun-04 11:15
suss15-Jun-04 11:15 
GeneralRe: Pagination using xsl Pin
Bhagwati15-Jun-04 19:22
Bhagwati15-Jun-04 19:22 
GeneralRe: Pagination using xsl Pin
16-Jun-04 8:17
suss16-Jun-04 8:17 
GeneralRe: Pagination using xsl Pin
Bhagwati16-Jun-04 17:49
Bhagwati16-Jun-04 17:49 
GeneralRe: Pagination using xsl Pin
Member 37818924-Jun-04 9:59
Member 37818924-Jun-04 9:59 
GeneralRe: Pagination using xsl Pin
Bhagwati24-Jun-04 17:52
Bhagwati24-Jun-04 17:52 
GeneralRe: Pagination using xsl Pin
Nick Parker19-Jun-04 19:36
protectorNick Parker19-Jun-04 19:36 
GeneralXPath: Select all nodes that DON'T contain certain subnodes Pin
VizOne12-Jun-04 0:20
VizOne12-Jun-04 0:20 
GeneralRe: XPath: Select all nodes that DON'T contain certain subnodes Pin
Mike Ellison12-Jun-04 7:05
Mike Ellison12-Jun-04 7:05 
GeneralRe: XPath: Select all nodes that DON'T contain certain subnodes Pin
VizOne12-Jun-04 10:56
VizOne12-Jun-04 10:56 
QuestionIs this possible...? Pin
Kyudos11-Jun-04 5:32
Kyudos11-Jun-04 5:32 
GeneralSoap with Commerce server 2000 Pin
Mr. Cully11-Jun-04 5:02
Mr. Cully11-Jun-04 5:02 
GeneralProblem in sending Soap message with long Japanese strings Pin
Rohitse9-Jun-04 19:59
Rohitse9-Jun-04 19:59 
GeneralXMLnode Pin
dotnet_cpp8-Jun-04 19:49
dotnet_cpp8-Jun-04 19:49 
GeneralRe: XMLnode Pin
Andrew Quinn AUS8-Jun-04 22:22
Andrew Quinn AUS8-Jun-04 22:22 

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.