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

C#

 
GeneralUsing a device driver in C# Pin
goldoche4-May-04 5:14
goldoche4-May-04 5:14 
GeneralRe: Using a device driver in C# Pin
Heath Stewart4-May-04 8:18
protectorHeath Stewart4-May-04 8:18 
GeneralWindows Forms DataGrid Control Keyboard Shortcuts Pin
Anonymous4-May-04 5:10
Anonymous4-May-04 5:10 
GeneralRe: Windows Forms DataGrid Control Keyboard Shortcuts Pin
Heath Stewart4-May-04 8:16
protectorHeath Stewart4-May-04 8:16 
GeneralXml and XSLT in C# Pin
Anonymous4-May-04 4:57
Anonymous4-May-04 4:57 
GeneralRe: Xml and XSLT in C# Pin
Heath Stewart4-May-04 8:10
protectorHeath Stewart4-May-04 8:10 
GeneralRe: Xml and XSLT in C# Pin
bertcox4-May-04 20:34
bertcox4-May-04 20:34 
GeneralRe: Xml and XSLT in C# Pin
Heath Stewart5-May-04 2:52
protectorHeath Stewart5-May-04 2:52 
It's likely that either your XSLT document is not well-formed XML or that you haven't specified the XSLT namespace (http://www.w3.org/1999/XSL/Transform).

Also, this is definitely the easier way. The only other way would be to navigate the DOM and either sort the data yourself or use an XPath navigator and wrote-out the DOM again in a sorted manner. XSLT does this for you.

It does work, but you're doing something wrong. The two problems I mentioned above are most likely the problems.

If you open your XSLT document in Internet Explorer, it should tell you where the error is if the document is not well formed (this is pretty simple to do programmatically too, but using IE you don't have to write anything). If the XSLT namespace isn't included, then your document is technically NOT and XSLT.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Xml and XSLT in C# Pin
bertcox5-May-04 3:42
bertcox5-May-04 3:42 
GeneralRe: Xml and XSLT in C# Pin
Heath Stewart5-May-04 5:12
protectorHeath Stewart5-May-04 5:12 
GeneralRe: Xml and XSLT in C# Pin
bertcox5-May-04 4:23
bertcox5-May-04 4:23 
GeneralAckermann Function Pin
pmasknguyen4-May-04 4:26
pmasknguyen4-May-04 4:26 
GeneralRe: Ackermann Function Pin
Bill Dean4-May-04 4:38
Bill Dean4-May-04 4:38 
GeneralRe: Ackermann Function Pin
Dave Kreskowiak4-May-04 4:50
mveDave Kreskowiak4-May-04 4:50 
GeneralCalling c++ function (callback) from managed code. Pin
venkatareddym4-May-04 4:15
venkatareddym4-May-04 4:15 
GeneralRe: Calling c++ function (callback) from managed code. Pin
Heath Stewart4-May-04 4:29
protectorHeath Stewart4-May-04 4:29 
Generalsort a Datagrid Pin
bertcox4-May-04 3:27
bertcox4-May-04 3:27 
GeneralRe: sort a Datagrid Pin
Heath Stewart4-May-04 3:56
protectorHeath Stewart4-May-04 3:56 
GeneralRe: sort a Datagrid Pin
bertcox4-May-04 20:49
bertcox4-May-04 20:49 
GeneralRe: sort a Datagrid Pin
Heath Stewart5-May-04 3:00
protectorHeath Stewart5-May-04 3:00 
QuestionHow to change system date in .NET Pin
Anonymous4-May-04 3:24
Anonymous4-May-04 3:24 
AnswerRe: How to change system date in .NET Pin
Colin Angus Mackay4-May-04 3:31
Colin Angus Mackay4-May-04 3:31 
GeneralRe: How to change system date in .NET Pin
Heath Stewart4-May-04 3:35
protectorHeath Stewart4-May-04 3:35 
GeneralRe: How to change system date in .NET Pin
Jeff Varszegi4-May-04 7:14
professionalJeff Varszegi4-May-04 7:14 
GeneralRe: How to change system date in .NET Pin
Heath Stewart4-May-04 8:03
protectorHeath Stewart4-May-04 8:03 

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.