Click here to Skip to main content
16,008,954 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon23-Feb-07 4:01
mvePete O'Hanlon23-Feb-07 4:01 
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 
I am sorry friend, as I am a new bird here in xsl and c# I really don't understand what u want to say It will be really nice If you give me some sample for it I am going to send you my code in .cs file and xsl file; Please modify them and send me right ones. It will be really kind to me.

Code in .cs File;
string URL = Server.MapPath(Request.ApplicationPath + "/xsl/Videos.xsl");

XPathDocument doc = new XPathDocument(URL);
XPathNavigator nav = doc.CreateNavigator();
XPathExpression expr = nav.Compile(string.Format("ceiling(count(.//Category[Title='$subtitle']/Category/MetaData))"));
object obj = nav.Evaluate(expr);
int output = 0;
if (obj != null)
{
Response.Write("Something : " + Convert.ToInt32(obj));
}
Code in xsl File;
<xsl:variable name="size" select="ceiling(count(.//Category[Title=$subtitle]/Category/MetaData))"/>


Regards,
Abubakar
GeneralRe: How to access XSL Vaiable in c#? Pin
Pete O'Hanlon1-Mar-07 4:01
mvePete O'Hanlon1-Mar-07 4:01 
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 

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.