Hello support !!
We have followed examples of ConvertTemplate(HTMLDocument, TemplateData, TemplateLoadOptions, string) to write a test program to bind xml data into HTML template …
The HTML template will contain some CSS elements as:
@page {
size: A4;
margin: 80pt 20pt 25pt 20pt;
@top-left {
font-size:8;
font-family:"Microsoft JhengHei";
margin-left:10px;
padding-top:15px;
width: 150px;
content:"{{TopLeft}}";
white-space: pre-line;
}
}
* {
font-family: "Microsoft JhengHei", "sans-serif";
}
The test program will loop 3000 times to execute Converter.ConvertTemplate(document, templateData, options, lsOutputHTML) and output 3000 HTMLDocument files , we have found some of output files ( 10 of 3000 ) seem not complete and it will lack CSS parts.
We have used Aspose HTML for .NET 23.3 and also would like to attach some of our testing environment for your reference as :
1. program.cs:test program
2. html template:
3. xml data:
4. output OK htmldocument:
5. output NOK htmldocument:
thanks & regards !!
Mason Pai 08-09-2024
Hello support !!
We have tried to pack our test condition as a ZIP for your reference as:
- program.cs:test program
- TST1001.htm:html template:
- TST1001.xml : xml data:
- TST1001_OK.htm : output OK htmldocument:
- TST1001_NOK.htmo:
TestCondition 0809.zip (33.9 KB)
utput NOK htmldocument:
@masonpai0212
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): HTMLNET-5708
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Hello support !!
We have used Aspose HTML SDK .Net 23.3 and we would like to try the latest 24.7 to if it can work for this issue …
The application framework for us is .Net framework 4.x not .Net core standard , we need your help to inform how to download Aspose HTML 24.7 for .Net framework …
thanks !!
Mason Pai 08-10-2024
@masonpai0212
We are afraid that currently, we support only .NET Standard 2.0. We have however recorded your concerns and will inform you once we have some updates in this regard. Please spare us some time.
@masonpai0212
We are pleased to share that the ticket has been resolved in 24.8 version of the API. About Aspose.HTML for .NET 24.7.0/24.8.0 support of .NET Framework, please pay attention to the article .NET Standard - .NET | Microsoft Learn about .NET Framework compatibility with the netstandard 2.0. According to it Aspose.HTML for .NET 24.7.0/24.8.0 is compatible with .NET Framework from 4.6.1 and higher. With some limitations described in that article.
The issues you have found earlier (filed as HTMLNET-5708) have been fixed in this update. This message was posted using Bugs notification tool by avpavlysh