Click here to Skip to main content
15,890,123 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon26-Feb-07 4:47
mvePete O'Hanlon26-Feb-07 4:47 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb26-Feb-07 21:24
Abubakarsb26-Feb-07 21:24 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb28-Feb-07 10:13
Abubakarsb28-Feb-07 10:13 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon28-Feb-07 10:52
mvePete O'Hanlon28-Feb-07 10:52 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb1-Mar-07 2:08
Abubakarsb1-Mar-07 2:08 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon1-Mar-07 2:56
mvePete O'Hanlon1-Mar-07 2:56 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb1-Mar-07 3:09
Abubakarsb1-Mar-07 3:09 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon1-Mar-07 4:01
mvePete O'Hanlon1-Mar-07 4:01 
No. That's not what you want to do. You have the XML file that you are going to transform - that's what goes into XPathDocument. So if you had the following:

Stream xmlStream = GetStreamFromDataSource();


You would then declare XPathDocument like this:

XPathDocument doc = new XPathDocument(xmlStream);


Then, as I've stated so many times, your XPathExpression will not use $subtitle. This is an XSL parameter. If you were looking for books with the title I Claudius, then you would replace this with:

XPathExpression expr = nav.Compile(string.Format("ceiling(count(.//Category[Title='{0}']/Category/MetaData))", "I Claudius"));


This replaces the {0} placeholder with the text I Claudius.

Deja View - the feeling that you've seen this post before.

GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb1-Mar-07 4:14
Abubakarsb1-Mar-07 4:14 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb4-Mar-07 9:49
Abubakarsb4-Mar-07 9:49 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon8-Mar-07 2:31
mvePete O'Hanlon8-Mar-07 2:31 
GeneralRe: How to access XSL Vaiable in c#? Pin
Abubakarsb8-Mar-07 9:53
Abubakarsb8-Mar-07 9:53 
Questionwaveform generator compnenet needed! Plz help Pin
pashitech22-Feb-07 3:43
pashitech22-Feb-07 3:43 
AnswerRe: waveform generator compnenet needed! Plz help Pin
Pete O'Hanlon22-Feb-07 4:48
mvePete O'Hanlon22-Feb-07 4:48 
GeneralRe: waveform generator compnenet needed! Plz help Pin
pashitech22-Feb-07 19:40
pashitech22-Feb-07 19:40 
GeneralRe: waveform generator compnenet needed! Plz help Pin
Pete O'Hanlon22-Feb-07 22:38
mvePete O'Hanlon22-Feb-07 22:38 
GeneralRe: waveform generator compnenet needed! Plz help Pin
pashitech23-Feb-07 5:38
pashitech23-Feb-07 5:38 
GeneralRe: waveform generator compnenet needed! Plz help Pin
Pete O'Hanlon26-Feb-07 5:11
mvePete O'Hanlon26-Feb-07 5:11 
Questionmedia via windows application Pin
omar el halwagy22-Feb-07 3:07
omar el halwagy22-Feb-07 3:07 
AnswerRe: media via windows application Pin
Judah Gabriel Himango22-Feb-07 4:50
sponsorJudah Gabriel Himango22-Feb-07 4:50 
GeneralRe: media via windows application Pin
omar el halwagy22-Feb-07 7:29
omar el halwagy22-Feb-07 7:29 
GeneralRe: media via windows application Pin
Judah Gabriel Himango22-Feb-07 10:25
sponsorJudah Gabriel Himango22-Feb-07 10:25 
GeneralRe: media via windows application Pin
omar el halwagy22-Feb-07 14:47
omar el halwagy22-Feb-07 14:47 
QuestionC# library Pin
kzoly22-Feb-07 2:59
kzoly22-Feb-07 2:59 
AnswerRe: C# library Pin
Pete O'Hanlon22-Feb-07 3:38
mvePete O'Hanlon22-Feb-07 3:38 

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.