Click here to Skip to main content
15,887,135 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to reduce size? Pin
Mazdak8-Feb-04 23:27
Mazdak8-Feb-04 23:27 
AnswerRe: How to reduce size? Pin
leppie9-Feb-04 6:55
leppie9-Feb-04 6:55 
Generalstatusbar UI Pin
osto8-Feb-04 18:09
osto8-Feb-04 18:09 
GeneralRe: statusbar UI Pin
Heath Stewart8-Feb-04 19:42
protectorHeath Stewart8-Feb-04 19:42 
Generalread and edit xsl in c# Pin
Inam8-Feb-04 18:01
Inam8-Feb-04 18:01 
GeneralRe: read and edit xsl in c# Pin
Heath Stewart8-Feb-04 19:34
protectorHeath Stewart8-Feb-04 19:34 
GeneralRe: read and edit xsl in c# Pin
Inam8-Feb-04 20:03
Inam8-Feb-04 20:03 
GeneralRe: read and edit xsl in c# Pin
Heath Stewart8-Feb-04 20:09
protectorHeath Stewart8-Feb-04 20:09 
You mean XML, not XSL. XSL is a transform you apply to an XML file that contains data, unless you mean you need to change that transform in order to add a color attributes of sorts; otherwise, forget XSL for the moment.

You'd be better off using an XmlDocument so that you can easily traverse the DOM. See the documentation for the XmlDocument in the .NET Framework SDK for more information. If you keep track of which label belongs to which element or attributes (there are no fields in XML), you can use XPath to select node (via SelectNodes or SelectSingleNode for example) and then append an attributes. You really need to read the documentation for these classes, though, as well as some of the XML topics in the .NET Framework SDK, which you can view from http://msdn.microsoft.com/netframework[^].

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: read and edit xsl in c# Pin
Inam8-Feb-04 20:33
Inam8-Feb-04 20:33 
GeneralRe: read and edit xsl in c# Pin
Heath Stewart9-Feb-04 1:25
protectorHeath Stewart9-Feb-04 1:25 
GeneralOn Ref and Value Types Pin
GetOn&GetGoing8-Feb-04 17:33
GetOn&GetGoing8-Feb-04 17:33 
GeneralRe: On Ref and Value Types Pin
Nick Parker8-Feb-04 18:28
protectorNick Parker8-Feb-04 18:28 
GeneralC# Does Shell, Arik Poznanski Pin
Christopher_S8-Feb-04 15:18
Christopher_S8-Feb-04 15:18 
GeneralRe: C# Does Shell, Arik Poznanski Pin
David Stone8-Feb-04 17:14
sitebuilderDavid Stone8-Feb-04 17:14 
GeneralRe: C# Does Shell, Arik Poznanski Pin
Christopher_S8-Feb-04 17:31
Christopher_S8-Feb-04 17:31 
GeneralRe: C# Does Shell, Arik Poznanski Pin
Heath Stewart8-Feb-04 19:30
protectorHeath Stewart8-Feb-04 19:30 
QuestionHow to monitor the request of IIS? Pin
EastDragon8-Feb-04 14:59
EastDragon8-Feb-04 14:59 
AnswerRe: How to monitor the request of IIS? Pin
Heath Stewart8-Feb-04 19:26
protectorHeath Stewart8-Feb-04 19:26 
GeneralWindows Address Book Pin
Anonymous8-Feb-04 12:04
Anonymous8-Feb-04 12:04 
GeneralRe: Windows Address Book Pin
Heath Stewart8-Feb-04 19:20
protectorHeath Stewart8-Feb-04 19:20 
GeneralRe: Windows Address Book Pin
Anonymous9-Feb-04 2:54
Anonymous9-Feb-04 2:54 
GeneralRe: Windows Address Book Pin
Heath Stewart9-Feb-04 3:25
protectorHeath Stewart9-Feb-04 3:25 
GeneralAdvice on editable datagrid Pin
Andrlage8-Feb-04 11:20
Andrlage8-Feb-04 11:20 
GeneralRe: Advice on editable datagrid Pin
Nick Parker8-Feb-04 11:32
protectorNick Parker8-Feb-04 11:32 
GeneralAutoScrolling TextBoxes Pin
ZigmaT8-Feb-04 10:51
ZigmaT8-Feb-04 10:51 

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.