NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 29 30 31 32 33 … 93 Next »
Validating XML InnerText values

 
  • 0 Vote(s) - 0 Average
Validating XML InnerText values
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#11
2008-08-27, 01:09 AM
I don't normally do serialisation for speed, but to reuse the same object for configuration (PropertyGrid) and Settings file.

For speed you can't beat XmlTextReader/XmlTextWriter but they generally aren't in a great structure.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#12
2008-08-27, 01:36 AM
psycik Wrote:This is where serialisation help, since it takes away with you having to worry about reading and writing the attributes.
As an aside... searching VS2005 help for "serialise" returns Null - "serialize" gets back to you with 500 results.

Probably because there are only 10 types of people in the world - those who understand binary arithmetic and those who don't.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#13
2008-08-27, 01:39 AM
I know I purposely spelt using the Queens English not Microsoft English
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#14
2008-08-27, 02:09 AM
psycik Wrote:I know I purposely spelt using the Queens English not Microsoft English
I'm touched...:o - however, I think I've found a good starting point


Quote:.NET Framework Developer's Guide
Introducing XML Serialization
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#15
2008-08-27, 03:20 AM
psycik Wrote:I don't normally do serialisation for speed, but to reuse the same object for configuration (PropertyGrid) and Settings file.

For speed you can't beat XmlTextReader/XmlTextWriter but they generally aren't in a great structure.
I meant when pulling it into an object. Strongtyping is it? (Being self taught I'm not sure of all the terminology.) Working with an xmltv file or my netflix movie list, serialization was much faster than reading the text and casting it to the objects.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Status field values in Table SCHEDULED_RECORDING scJohn 2 2,289 2019-07-03, 07:01 PM
Last Post: sub
  GetClientIdentifier() return values JavaWiz 3 1,818 2009-03-05, 02:11 PM
Last Post: ACTCMS
  SQL Error - Failed to enable constraints. One or more rows contain values violating n ralphy 6 3,724 2008-02-06, 10:03 AM
Last Post: ralphy
  I need weather values in Celcius rather than F 0 477 Less than 1 minute ago
Last Post:

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode