By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,054 Members | 1,304 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,054 IT Pros & Developers. It's quick & easy.

Creating a strongly typed collection from an XML file

P: n/a
Is that possible ? Can I create a strongly typed collection from an XML
file?
Sorry, if this is too dumb, but since .net does it when you use certain
data objects, I was wondering whether I could create a strongly typed
collection reading from an XML file.

The reason I need this, is because I'm implementing a custom solution
for a multilingual website and I was thinking in use this so that, I
can do something like :

txtboxUsername.Text = LocalizationManager.Resources.Username;

I'd appreciate any comment.

Sep 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a

Check out my blog entry:

http://sholliday.spaces.live.com/?_c11_BlogPart_n=1&_c11_BlogPart_handle=cns!A68482 B9628A842A!125&_c11_BlogPart_FullView=1&_c=BlogPar t
9/21/2005 date

I have several xml to object examples, including collections and child
collections.

If your xml is already "fixed" (you don't control it) , you can do a xml to
xml transformation to match the xml serializaton schema.


<cr************@hotmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
Is that possible ? Can I create a strongly typed collection from an XML
file?
Sorry, if this is too dumb, but since .net does it when you use certain
data objects, I was wondering whether I could create a strongly typed
collection reading from an XML file.

The reason I need this, is because I'm implementing a custom solution
for a multilingual website and I was thinking in use this so that, I
can do something like :

txtboxUsername.Text = LocalizationManager.Resources.Username;

I'd appreciate any comment.

Sep 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.