We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Create Word doc from xml

Hi

with Aspose.Pdf it is possible to do something like the following, to generate and stream a pdf document based on an xml and xsl-fo. I do this sort of thing to generate a pdf on the fly and stream it over an http response stream for example.


Pdf pdf = new Pdf();
pdf.BindFO(xmlDoc, foxsltPath);
pdf.Save(outStream);


Does Aspose.Words have similar functionality? Especially creating a word document from xml and xsl?
Saving/writing to stream would also be good.

Thanks,
Peter

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Aspose.Words does not support XSL-FO. Here was the same request

I think information provided in this thread could be useful for you.

Regarding saving to stream. Yes of course you can do that. See the following link for more information.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.save_overloads.html

Best regards.