views:

55

answers:

3

I want to pass an XML object from code behind file of an aspx to an class library.for that how can i create a XML Object. please its urgent.

+1  A: 

Load an XML file from disk http://msdn.microsoft.com/en-us/library/875kz807.aspx

or some XML from a string

http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.loadxml.aspx

Greg B
with out creating an xmlfile can we pass the data using XMl object...
Niranjan Thangaiya
+1  A: 

check this for create XML object

Vyas
+2  A: 
Richard
I want to create an xml object it should not be an XMl file.
Niranjan Thangaiya
All of the four APIs allow XMl objects to be created (and loaded/saved to files/data streams). Without more details (e.g. do you want a specific type of object?) it is hard to suggest something more specific.
Richard