In a project i am making i needed something similar to Xslt, but quite different too. I managed to create it, it basically works the same as Xslt but with some differences. The language is called Sslt, and the class that does transformations SsltCompiledTransform (~ XsltCompiledTransform).
I now have the following problem. The application uses both Xslt and Sslt transform classes. I also have a class that monitors a folder checking it for new files to transform. I would like for this class to have an instance of either XsltCompiledTransform or SsltCompiledTransform. Using an interface seemed like a neat solution... The class is called MonitorTransformController. The interface i would like to use is called ITransformController.
The problem is that the System.Xml.Xsl.XsltCompiledtransform class is sealed.
I included the Class diagram at the end of this post, i hope it is clear to you.
What would be a nice solution for this problem
Stijn...
[class diagram: http://stino.sin.khk.be/XsltCompiledTransform.jpg (hxxp ... stino.sin.khk.be/XsltCompiledTransform.jpg)]

XsltCompiledTransform inheriting or implementing
Drakth
I am glad to here.
Good luck!
Dinalli
Sorry for inconvenient.
XslCompiledTransform is not the perfect factorization and we would like improve the design in future if this would be possible. This is one of the reasons why we sealed the current implementation. If class would not be sealed it would be much harder to change it without breaking backward compatibility.
The better solution (one we considering) is expressed in IXmlTransform set of classes and is available standalone in http://mvp-xml.sourceforge.net/api/2.0/T_Mvp_Xml_Common_Xsl_IXmlTransform.html . In the future version XslCompiledTransform may also implement something like IXmlTransform.
This design is similar to one you offer in your diagram so I expect that IXmlTransform will work for you.
Jordan T