Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
GeneralRe: sort a Datagrid Pin
Appelz26-Apr-04 21:31
Appelz26-Apr-04 21:31 
GeneralRe: sort a Datagrid Pin
Appelz27-Apr-04 2:30
Appelz27-Apr-04 2:30 
GeneralRe: sort a Datagrid Pin
Heath Stewart27-Apr-04 2:55
protectorHeath Stewart27-Apr-04 2:55 
GeneralRe: sort a Datagrid Pin
Appelz27-Apr-04 2:54
Appelz27-Apr-04 2:54 
GeneralRe: sort a Datagrid Pin
Heath Stewart27-Apr-04 3:12
protectorHeath Stewart27-Apr-04 3:12 
GeneralRe: sort a Datagrid Pin
Appelz27-Apr-04 3:26
Appelz27-Apr-04 3:26 
GeneralRe: sort a Datagrid Pin
Heath Stewart27-Apr-04 3:44
protectorHeath Stewart27-Apr-04 3:44 
GeneralRe: sort a Datagrid Pin
Appelz27-Apr-04 23:43
Appelz27-Apr-04 23:43 
i just can't make it work Frown | :-( it's getting very frustrating

i tried it now it what seems the most easy way to me:


string filePath = @"c:\nodes.xml";
string filePath2 = @"c:\XSL2.xsl";
XslTransform trans = new XslTransform();
trans.Load(filePath2);
trans.Transform(filePath,@"c:\ert.xml");



the xml file looks like this:

<sessie name="handel">
<libraries>
<library name="contxtlib">
<fullname>123</fullname>
<super>false</super>
<loadorder>1</loadorder>
</library>
<library name="xmllib">
<fullname>xmllib.p</fullname>
<super>true</super>
<loadorder>6</loadorder>
</library>
<library name="Librarytest">
<fullname>Test 44444444444</fullname>
<super>false</super>
<loadorder>5</loadorder>
</library>
<library name="vbnc">
<fullname>bvcn</fullname>
<super>true</super>
<loadorder>3</loadorder>
</library>
</libraries>
</sessie>


and the XSL looks like this:

<xsl:stylesheet version="1.0">
<xsl:output method="text"/>
<xsl:template match="//libraries">
<xsl:apply-templates>
<xsl:sort select="/library/loadorder"/>
</xsl:apply-templates>
</xsl:template>
</xsl:stylesheet>


and it just won't work Dead | X|

GeneralRe: sort a Datagrid Pin
Appelz28-Apr-04 0:02
Appelz28-Apr-04 0:02 
QuestionHow to change from Byte[] to Bitmap on a Pocket PC Pin
Gakujin22-Apr-04 19:10
Gakujin22-Apr-04 19:10 
AnswerRe: How to change from Byte[] to Bitmap on a Pocket PC Pin
Baris Kurtlutepe23-Apr-04 1:09
Baris Kurtlutepe23-Apr-04 1:09 
GeneralRe: How to change from Byte[] to Bitmap on a Pocket PC Pin
Heath Stewart23-Apr-04 2:40
protectorHeath Stewart23-Apr-04 2:40 
Questionincluding undefined data in a .net exe?? Pin
Paolo Ponzano22-Apr-04 19:01
Paolo Ponzano22-Apr-04 19:01 
AnswerRe: including undefined data in a .net exe?? Pin
Corinna John22-Apr-04 20:42
Corinna John22-Apr-04 20:42 
GeneralRe: including undefined data in a .net exe?? Pin
Paolo Ponzano23-Apr-04 6:54
Paolo Ponzano23-Apr-04 6:54 
GeneralRe: including undefined data in a .net exe?? Pin
Corinna John23-Apr-04 7:54
Corinna John23-Apr-04 7:54 
GeneralRe: including undefined data in a .net exe?? Pin
Paolo Ponzano23-Apr-04 7:56
Paolo Ponzano23-Apr-04 7:56 
GeneralRe: including undefined data in a .net exe?? Pin
Paolo Ponzano23-Apr-04 21:21
Paolo Ponzano23-Apr-04 21:21 
GeneralRe: including undefined data in a .net exe?? Pin
Corinna John24-Apr-04 8:19
Corinna John24-Apr-04 8:19 
QuestionHow to convert a number to a string Pin
karied22-Apr-04 17:24
karied22-Apr-04 17:24 
AnswerRe: How to convert a number to a string Pin
Jay Shankar22-Apr-04 22:01
Jay Shankar22-Apr-04 22:01 
AnswerRe: How to convert a number to a string Pin
Dave Kreskowiak23-Apr-04 0:30
mveDave Kreskowiak23-Apr-04 0:30 
AnswerRe: How to convert a number to a string Pin
Ryzhiy23-Apr-04 1:38
Ryzhiy23-Apr-04 1:38 
AnswerRe: How to convert a number to a string Pin
Heath Stewart23-Apr-04 2:43
protectorHeath Stewart23-Apr-04 2:43 
QuestionUndo Redo option? Pin
azusakt22-Apr-04 16:02
azusakt22-Apr-04 16:02 

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.