Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Navigate XML content
Message
From
26/08/2008 23:19:37
 
General information
Forum:
ASP.NET
Category:
XML
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01341375
Message ID:
01342087
Views:
20
Hi,
What if I have xml like this
<?xml version="1.0" encoding="utf-8" ?>
<PlugInEvents>
	<PlugInEvent>
		<Name>Application.Startup</Name>
		<Description>Occurred when application startup</Description>
		<MustImplementTypes>
			<MustImplementType>
				<Type>IApplication</Type>
				<EventHandler>Startup</EventHandler>
				<Assembly>c:\\aaa.dll</Assembly>
			</MustImplementType>
		</MustImplementTypes>
	</PlugInEvent>
	<PlugInEvent>
		<Name>Application.Shutdown</Name>
		<Description>Occurred when application shutdown</Description>
		<MustImplementTypes>
			<MustImplementType>
				<Type>IApplication</Type>
				<EventHandler>Shutdown</EventHandler>
				<Assembly>c:\\aaa.dll</Assembly>
			</MustImplementType>
			<MustImplementType>
				<Type>IGlobal</Type>
				<EventHandler>GlobalShutdown</EventHandler>
				<Assembly>c:\\Global.dll</Assembly>
			</MustImplementType>
		</MustImplementTypes>
	</PlugInEvent>
</PlugInEvents>
And I want to show them like this:-
Name: Application Startup
Description: Occurred when application startup
Must Implement:
    Type: IApplication
    EventHandler: Startup
    Assembly: c:\\aaa.dll

Name: Application Shutdown
Description: Occurred when application shutdown
Must Implement:
    Type: IApplication
    EventHandler: Shutdown
    Assembly: c:\\aaa.dll
    Type: IGlobal
    EventHandler: GlobalShutdown
    Assembly: c:\\Global.dll
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform