I had some classes I was serializing out using XMLSerializer, then transforming using XSLT into various formatted emails or web service calls. All was well.
We started using Linq in some parts of the data layer, and I needed to serialize out some of the Linq objects to be consumed by the XSL Stylesheets. I decided it was probably best to move towards using the DataContractSerializer instead of XMLSerializer.
I got the DataContracts and everything set up, and things serialize out nicely with a couple minor changes to the entity names... BUT now the stylesheets won't process the XML at all. I really have no idea why I'm not getting at least something... basically all that comes out is the data stripped of the xsl tags though.
Any ideas what would cause that?
EDIT:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="CallTicket">
Here is the XML generated from DataContractSerializer before I modified the DataContract declaration:
<CallTicket xmlns="http://schemas.datacontract.org/2004/07/CRMInterface.CRMData" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">