Results 1 to 3 of 3

Thread: [RESOLVED] [2.0] XML to Dynamic ASP .NET 2.0/HTML - C# Example

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2001
    Posts
    48

    Resolved [RESOLVED] [2.0] XML to Dynamic ASP .NET 2.0/HTML - C# Example

    I found a great article on how to create Dynamic HTML from a XML Document.
    http://www.codeproject.com/aspnet/xm...44&msg=1599344

    The sample is in .net 1.0.

    When I try to convert the project to .NET 2.0 I have a problem because the XSLTransform class is deprecated. The new class that replaced it is XSLCompiledTransform.

    I have included the xslt file(default.xslt), the XML document(cx.config) and the c# code. XmlXslTransforer.cs is the class code that needs to use the new xslcompiledtransform class.

    The "result" string in the XmlXslTransforer.cs sample class will contain the end result of the transform.

    It should contain table/asp/html code with several controls

    I think the problem is a security issue but have not had any luck fixing it with the new class.

    Here is the attachment in a zip file
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width