Re: Transforming XML from Data Objects
- From: Martin Honnen <mahotrash@xxxxxxxx>
- Date: Fri, 12 Sep 2008 13:30:05 +0200
Jeff.Thorn@xxxxxxxxx wrote:
Is there something built into the .NET framework that will allow this
to be done easily? It would be nice if there was some time of template
based system for generating XML from objects. As far as I know, you
can't really apply XSLT transforms from objects.
You could serialize the objects to XML, then process that XML as needed with XSLT stylesheets to create the different outputs you want.
There also is some (.NET 1.0) tool named ObjectXPathNavigator
http://msdn.microsoft.com/en-us/library/ms950764.aspx
that could be directly fed to an XSLT transformation, I don't know however how easy it is to port that to .NET 2.0.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
.
- References:
- Transforming XML from Data Objects
- From: Jeff . Thorn
- Transforming XML from Data Objects
- Prev by Date: Transforming XML from Data Objects
- Next by Date: XML deserialization problem (C# - Silverlight 2.1)
- Previous by thread: Transforming XML from Data Objects
- Next by thread: XML deserialization problem (C# - Silverlight 2.1)
- Index(es):
Loading