Click here to Skip to main content
15,916,318 members
Home / Discussions / C#
   

C#

 
Questionhow to program a scalable server application? Pin
ppp0019-Dec-04 7:09
ppp0019-Dec-04 7:09 
AnswerRe: how to program a scalable server application? Pin
Daniel Turini9-Dec-04 11:45
Daniel Turini9-Dec-04 11:45 
AnswerRe: how to program a scalable server application? Pin
Javier Lozano9-Dec-04 16:17
Javier Lozano9-Dec-04 16:17 
GeneralChange behaviour on WM_ERASEBKGND Pin
stefan houtz9-Dec-04 6:42
stefan houtz9-Dec-04 6:42 
GeneralSMTP for Win98 Pin
Dylan van Heerden9-Dec-04 6:42
Dylan van Heerden9-Dec-04 6:42 
GeneralRe: SMTP for Win98 Pin
Dave Kreskowiak9-Dec-04 6:48
mveDave Kreskowiak9-Dec-04 6:48 
GeneralRe: SMTP for Win98 Pin
Dylan van Heerden9-Dec-04 9:01
Dylan van Heerden9-Dec-04 9:01 
GeneralGetting xml into objects. Pin
Marlun9-Dec-04 5:02
Marlun9-Dec-04 5:02 
Hello!

I am making a simple php-editor and right now I'm working on the intelliprompt memberlist. It is supposed to show with all the php functions. I then needed to store all the phpfunctions and information about them somehow. I choosed to use an xml file. The xml file looks like this:

<?xml version="1.0" encoding="utf-8" ?>
<FunctionList Language="PHP">
<Functions>
<Function Name="abs" ReturnType="number">
<Parameters>
<Parameter Name="number" Type="mixed" />
</Parameters>
<Description>
<![CDATA[
Returns the absolute value of number. If the argument number is of type float, the return type is also float, otherwise it is integer (as float usually has a bigger value range than integer).
]]>
</Description>
</Function>
<Function Name="acos" ReturnType="float">
<Parameters>
<Parameter Name="arg" Type="float" />
</Parameters>
<Description>
<![CDATA[
Returns the arc cosine of arg in radians. acos() is the complementary function of cos(), which means that a==cos(acos(a)) for every value of a that is within acos()' range.
]]>
</Description>
</Function>
</Functions>
</FunctionList>

And I was wondering whats the best way of looping though every functions element and taking out name, returntype, all the parameters (name, type) and the description and adding it into objects?

I would appreciate a little code examples (they don't have to be complete or working) so I get what you mean.

Thanks in advance!

~~~~~~~~~~~~~~
Martin Lundberg
Student, Sweden

I have to thank every member of the Code Project for making it such a great place for a beginner to learn!
GeneralRe: Getting xml into objects. Pin
Daniel Turini9-Dec-04 9:22
Daniel Turini9-Dec-04 9:22 
GeneralRe: Getting xml into objects. Pin
Marlun9-Dec-04 19:21
Marlun9-Dec-04 19:21 
Generalcrystal report Pin
steve_rm9-Dec-04 4:54
steve_rm9-Dec-04 4:54 
GeneralVisual Studio 2005, Beta 1 Pin
Jeff Martin9-Dec-04 4:52
Jeff Martin9-Dec-04 4:52 
QuestionWhats a good crossplatform C#/.Net book? Pin
JDUK9-Dec-04 3:26
JDUK9-Dec-04 3:26 
GeneralSearching Rectangle into scanned image Pin
montu33779-Dec-04 3:11
montu33779-Dec-04 3:11 
GeneralOS ContextMenu Pin
meuri9-Dec-04 1:54
meuri9-Dec-04 1:54 
GeneralRe: OS ContextMenu Pin
chrono_dev9-Dec-04 2:20
chrono_dev9-Dec-04 2:20 
GeneralRe: OS ContextMenu Pin
meuri9-Dec-04 3:05
meuri9-Dec-04 3:05 
GeneralRe: OS ContextMenu Pin
chrono_dev9-Dec-04 22:10
chrono_dev9-Dec-04 22:10 
GeneralRe: OS ContextMenu Pin
meuri9-Dec-04 22:41
meuri9-Dec-04 22:41 
GeneralRe: OS ContextMenu Pin
Judah Gabriel Himango9-Dec-04 4:34
sponsorJudah Gabriel Himango9-Dec-04 4:34 
Generallooking for kind response Pin
Allah Kaa Bandaa9-Dec-04 1:46
Allah Kaa Bandaa9-Dec-04 1:46 
GeneralRe: looking for kind response Pin
| Muhammad Waqas Butt |9-Dec-04 2:19
professional| Muhammad Waqas Butt |9-Dec-04 2:19 
GeneralRe: looking for kind response Pin
Allah Kaa Bandaa9-Dec-04 2:28
Allah Kaa Bandaa9-Dec-04 2:28 
GeneralRe: looking for kind response Pin
Colin Angus Mackay9-Dec-04 3:18
Colin Angus Mackay9-Dec-04 3:18 
GeneralRe: looking for kind response Pin
Colin Angus Mackay9-Dec-04 2:37
Colin Angus Mackay9-Dec-04 2:37 

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.