-
Notifications
You must be signed in to change notification settings - Fork 21
Description
It appears that this solution contains the same challenge addressed in ScottIsAFool/AdaptiveTileExtensions#6
I am looking at this line:
https://github.com/anbare/NotificationsExtensions/blob/master/Windows%2010/NotificationsExtensions/Common.cs#L383
And I am curious why this is being used, rather than:
var serializer = new XmlSerializer( GetType() );
serializer.Serialize( writer, this );
Because of this, there appears to be a tremendous amount of code overlap between the concerns addressed in XmlSerializer and the Xml namespace.
Would it be possible to consider a design where objects are emitted through XmlSerializer/DataContractSerializer, and then run through an XSLT like this one to emit the desired XML?
I would be interested in assisting with this. I cannot stand seeing DOM-tree walking when it can be taken care of with the lines above.
I realize this project supports different platforms, so I am looking to gain understanding here to see if there is something obvious I am missing. Thanks in advance. :)