Click here to Skip to main content
15,891,567 members
Home / Discussions / C#
   

C#

 
QuestionSet StandardClick/StandardDoubleClick to a ListView control Pin
blackjack215022-Feb-07 21:01
blackjack215022-Feb-07 21:01 
QuestionXSL Variable in .cs File Pin
Abubakarsb22-Feb-07 20:56
Abubakarsb22-Feb-07 20:56 
AnswerRe: XSL Variable in .cs File Pin
Stefan Troschuetz22-Feb-07 22:22
Stefan Troschuetz22-Feb-07 22:22 
GeneralRe: XSL Variable in .cs File Pin
Abubakarsb22-Feb-07 23:51
Abubakarsb22-Feb-07 23:51 
GeneralRe: XSL Variable in .cs File Pin
Abubakarsb22-Feb-07 23:52
Abubakarsb22-Feb-07 23:52 
GeneralRe: XSL Variable in .cs File Pin
Stefan Troschuetz23-Feb-07 0:04
Stefan Troschuetz23-Feb-07 0:04 
GeneralRe: XSL Variable in .cs File Pin
Abubakarsb23-Feb-07 0:11
Abubakarsb23-Feb-07 0:11 
GeneralRe: XSL Variable in .cs File Pin
Stefan Troschuetz23-Feb-07 0:22
Stefan Troschuetz23-Feb-07 0:22 
Abubakarsb wrote:
Code written in XSL File:
<


Cannot see the XSL.

Abubakarsb wrote:
xdoc.SelectSingleNode("xsl:variable");


The XPath expression you used probably does not match anything. You have to specify a valid XPath expression to select the wanted variable element in the XSL document. For example this "//xsl:variable" will get you the first variable element. A first introduction the XPath can be found here W3Schools XPath[^]Furthermore, you have the overload of the SelectSingleNode method that takes an XmlNamespaceManager instance to resolve the prefixes used in the XPath expression to namespace URIs. Take a look at the documentation of the overload to see an example.


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: XSL Variable in .cs File Pin
Abubakarsb23-Feb-07 0:11
Abubakarsb23-Feb-07 0:11 
GeneralRe: XSL Variable in .cs File Pin
Stefan Troschuetz23-Feb-07 0:24
Stefan Troschuetz23-Feb-07 0:24 
GeneralRe: XSL Variable in .cs File Pin
Abubakarsb23-Feb-07 0:26
Abubakarsb23-Feb-07 0:26 
GeneralRe: XSL Variable in .cs File Pin
Stefan Troschuetz23-Feb-07 0:32
Stefan Troschuetz23-Feb-07 0:32 
QuestionFetch last record of table Pin
Nekshan22-Feb-07 20:08
Nekshan22-Feb-07 20:08 
AnswerRe: Fetch last record of table Pin
il_masacratore22-Feb-07 21:23
il_masacratore22-Feb-07 21:23 
AnswerRe: Fetch last record of table Pin
althamda22-Feb-07 22:27
althamda22-Feb-07 22:27 
AnswerRe: Fetch last record of table Pin
virendra patel23-Feb-07 16:37
virendra patel23-Feb-07 16:37 
QuestionFont size increases after postback Pin
Bobb198222-Feb-07 20:01
Bobb198222-Feb-07 20:01 
AnswerRe: Font size increases after postback Pin
Harini N K22-Feb-07 21:29
Harini N K22-Feb-07 21:29 
QuestionDisplay LoginName from LoginControl Pin
SharonRao22-Feb-07 19:59
SharonRao22-Feb-07 19:59 
QuestionHow to get all the tables with their schema name in sql server 2005. Pin
NK722-Feb-07 19:56
NK722-Feb-07 19:56 
AnswerRe: How to get all the tables with their schema name in sql server 2005. Pin
Hesham Amin22-Feb-07 22:35
Hesham Amin22-Feb-07 22:35 
Questionstatic page user logon active directory Pin
mushy22-Feb-07 19:51
mushy22-Feb-07 19:51 
QuestionError! Pin
hiremath7122-Feb-07 19:46
hiremath7122-Feb-07 19:46 
AnswerRe: Error! Pin
__DanC__22-Feb-07 20:45
__DanC__22-Feb-07 20:45 
QuestionMINIMIZE TO MAXIMIZE Pin
M Riaz Bashir22-Feb-07 19:29
M Riaz Bashir22-Feb-07 19:29 

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.