Answer the question
In order to leave comments, you need to log in
Are there XSLT generators for source data and their representations?
Good afternoon!
The original task sounds like this: generate a PDF from XML. A cursory search led me to XML:FO from which, with the help of existing libraries, you can generate PDF. XML:FO is derived from XML using XSLT. And now I don’t want to write horror with my hands. In addition, I want to give users the simplest tool for modifying the appearance of the final document. We currently have a formatted DOC/DOCX document with placeholder fields. I would like to give it to users for modification.
Actually a subject. Is there anything ready to generate XSLT from XML and DOC / DOCX containing the same data as XML, which can then be applied to similar XML and get either DOC / DOCX or something else, which after can be convert to PDF?
C# is not critical, but desirable.
UPD.
As a last resort, some visual editors are suitable, which can be fed XML and XSLT and immediately see the result in the process of editing source files.
Answer the question
In order to leave comments, you need to log in
https://www.altova.com/xmlspy-xml-editor
Code generation in Java, C# and C++
In general, I did not find generators. Software in which you can immediately see the result of the work ... um. In general, it will suit me, but you can’t show it to ordinary users - at best, they will just get scared and close the program. Actually, not surprisingly, the software is not for ordinary users.
As a result, I had to cut XSLT by hand. Users will have to pull me or someone else if something happens.
As for the results, I did the following. Wrote an XSLT that translates the original XML into XML-FO with the pre-Network System.Xml.Xsl.XslCompiledTransform. Further, with the help of FO.NET, a PDF is generated from XML-FO.
It remains only a little bit - to write transformers for 11 more templates :-(
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question