<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>XML</title>
        <link>http://blogs.ugidotnet.org/franx_blog/category/XML.aspx</link>
        <description>XML</description>
        <language>it-IT</language>
        <copyright>Francesco Geri</copyright>
        <generator>Subtext Version 2.6.0.0</generator>
        <item>
            <title>Open XML Format SDK</title>
            <link>http://blogs.ugidotnet.org/franx_blog/archive/2008/04/17/92265.aspx</link>
            <description>Pubblicato l'Open XML Format SDK (April CTP):  http://www.microsoft.com/downloads/details.aspx?FamilyId=AD0B72FB-4A1D-4C52-BDB5-7DD7E816D046&amp;amp;displaylang=en     Mentre la versione online dell'SDK è all'indirizzo:  http://msdn2.microsoft.com/en-us/library/bb448854.aspx        Fonte: Erika Ehrli&lt;img src="http://blogs.ugidotnet.org/franx_blog/aggbug/92265.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Francesco Geri</dc:creator>
            <guid>http://blogs.ugidotnet.org/franx_blog/archive/2008/04/17/92265.aspx</guid>
            <pubDate>Thu, 17 Apr 2008 19:45:52 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/franx_blog/archive/2008/04/17/92265.aspx#feedback</comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/franx_blog/comments/commentRss/92265.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Trasformazione di un file XML in un file HTML tramite un XSLT</title>
            <link>http://blogs.ugidotnet.org/franx_blog/archive/2008/04/02/92024.aspx</link>
            <description>La trasformazione via codice di un file XML in HTML tramite file XSLT è molto semplice (cito liberamente da MSDN):
 
' Load the style sheet.Dim xslt As New XslCompiledTransform()xslt.Load("output.xsl")        ' Execute the transform and output the results to a file.xslt.Transform("books.xml", "books.html")
 
Il codice riportato lavora su file fisici, messi da qualche parte. 
Se però non si vuole sfruttare il file system, si può usare una funzione come la seguente, che consente di fare la trasformazione senza aver file fisici in gioco.
  

  Function TransformXML(ByVal xDoc As Xml.XmlDocument, ByVal xsltText As String) As String
    ' Carica l'xslt
    Dim xslt As New Xml.Xsl.XslCompiledTransform()
    Dim xsltStringReader As New IO.StringReader(xsltText)
    Dim xsltXmlReader As New Xml.XmlTextReader(xsltStringReader)
    xslt.Load(xsltXmlReader)
    ' Crea il reader per l'XML in XDOC
    Dim xDocStringReader As New IO.StringReader(xDoc.OuterXml)
    Dim xDocXmlReader As New Xml.XmlTextReader(xDocStringReader)
    ' Crea il writer per l'html
    Dim htmlStringBuilder As New Text.StringBuilder()
    Dim htmlStringWriter As New IO.StringWriter(htmlStringBuilder)
    Dim htmlXmlReaderWriter As New Xml.XmlTextWriter(htmlStringWriter)
    ' Esegue la trasformazione
    xslt.Transform(xDocXmlReader, htmlXmlReaderWriter)
    ' Retuisce il contenuto html
    Return htmlStringBuilder.ToString()
  End Function
&lt;img src="http://blogs.ugidotnet.org/franx_blog/aggbug/92024.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Francesco Geri</dc:creator>
            <guid>http://blogs.ugidotnet.org/franx_blog/archive/2008/04/02/92024.aspx</guid>
            <pubDate>Wed, 02 Apr 2008 03:55:08 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/franx_blog/archive/2008/04/02/92024.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/franx_blog/comments/commentRss/92024.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Deserializzazione di un oggetto complesso passato come parametro in un WebMethod</title>
            <link>http://blogs.ugidotnet.org/franx_blog/archive/2008/03/17/91743.aspx</link>
            <description>Se in un WebMethod si passa come parametro un oggetto complesso si può ottenere un errore del tipo:

System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.InvalidOperationException: There was an error generating the XML document. ---&gt; System.InvalidOperationException: A circular reference was detected while serializing an object of type MyObjectType.
   at System.Xml.Serialization.XmlSerializationWriter.Writ&lt;img src="http://blogs.ugidotnet.org/franx_blog/aggbug/91743.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Francesco Geri</dc:creator>
            <guid>http://blogs.ugidotnet.org/franx_blog/archive/2008/03/17/91743.aspx</guid>
            <pubDate>Mon, 17 Mar 2008 03:40:58 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/franx_blog/archive/2008/03/17/91743.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/franx_blog/comments/commentRss/91743.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Validazione di un file XML dallo schema XSD</title>
            <link>http://blogs.ugidotnet.org/franx_blog/archive/2007/10/25/89218.aspx</link>
            <description>Liberamente tratto da MSDN riporto il codice per la validazione di un file XML da uno schema XSD. &lt;a href="http://blogs.ugidotnet.org/franx_blog/archive/2007/10/25/89218.aspx"&gt;...qui&lt;/a&gt;&lt;img src="http://blogs.ugidotnet.org/franx_blog/aggbug/89218.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Francesco Geri</dc:creator>
            <guid>http://blogs.ugidotnet.org/franx_blog/archive/2007/10/25/89218.aspx</guid>
            <pubDate>Thu, 25 Oct 2007 20:50:20 GMT</pubDate>
            <comments>http://blogs.ugidotnet.org/franx_blog/archive/2007/10/25/89218.aspx#feedback</comments>
            <slash:comments>9</slash:comments>
            <wfw:commentRss>http://blogs.ugidotnet.org/franx_blog/comments/commentRss/89218.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>