Jeylabs.HtmlCompiler 1.0.0

dotnet add package Jeylabs.HtmlCompiler --version 1.0.0                
NuGet\Install-Package Jeylabs.HtmlCompiler -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Jeylabs.HtmlCompiler" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Jeylabs.HtmlCompiler --version 1.0.0                
#r "nuget: Jeylabs.HtmlCompiler, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Jeylabs.HtmlCompiler as a Cake Addin
#addin nuget:?package=Jeylabs.HtmlCompiler&version=1.0.0

// Install Jeylabs.HtmlCompiler as a Cake Tool
#tool nuget:?package=Jeylabs.HtmlCompiler&version=1.0.0                

HTML Compiler

This Reusable Package helps to Compile HTML Document for XML Data and XSLT Style.

alternate text is missing from this package README image Jeylabs.HtmlCompiler (.Net Framework)

This Reusable Package helps to Compile HTML Document for XML Data and XSLT Style..

Target

The package targets .Net Framework 4.0 or latest. you can install and use the package Jeylabs.HtmlCompiler on projects which are based on .Net Framework

Usage

To start using reusable_timeline you can install it using nuget

  • If you are using "Nuget Package Manager Console" use the following command to install it

      Install-Package Jeylabs.HtmlCompiler -Version 1.0.0
    
  • If you are using ".NET CLI" use the following command to install it

      dotnet add package Jeylabs.HtmlCompiler --version 1.0.0
    
  • If you are using "Nuget Package Manager (GUI)" follow the steps which following gif showing.

alternate text is missing from this package README image

You must use the Jeylabs.HtmlCompiler namespace from the Jeylabs.HtmlCompiler package

using Jeylabs.HtmlCompiler;

Then you have to to pass the value to the params of Compile method of HtmlCompiler class

Your Code Look like following Example:

.

using Jeylabs.HtmlCompiler;

namespace Html_Compiler_App
{
    class Program
    {
        static void Main(string[] args)
        {
            string xml = "<Sample Xml>"; //sample text content of xml
            string xslt = "<Sample xslt>";// sample text content of xslt

            string HtmlContent1 = HtmlCompiler.Compile(xml, xslt); // OPTION 1 : Compiling Html content By xml and xslt value

            string HtmlContent2 = HtmlCompiler.Compile("SampleXmlfile.xml", "SampleXsltfile.xsl");// OPTION 2 : Compiling Html content By xml and xslt file

            string xmlContent = HtmlCompiler.GetXmlContent("SampleXmlfile.xml");  // Get Xml Content From File

            string xsltContent = HtmlCompiler.GetXsltContent("SampleXsltfile.xsl"); // Get XSLT Content From File

            string HtmlContent3 = HtmlCompiler.Compile(xmlContent, xsltContent); // OPTION 3 : Compiling Html content By xml and xslt content which are Collect from Package

            string HtmlContent4 = HtmlCompiler.Compile(xml, xsltContent);// OPTION 4 : Compiling Html content By Different combination
        }
    }
}
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 548 7/24/2019

This is an Initial release