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

Free Support Forum - aspose.com

Parameter Passing - xslt

I'm evaluating your product for an upcoming project.

So far, I am very impressed and have been able to generate pdf's using our xml and custom xslt files.

However, I can't find a way to pass or use replaceable symbols to have the ability to have dynamic ability to change certain properties of a text.

For example, I'd like to be able to specify what font to use for a specific Text or Segment on the fly and not hard code it in the xslt file. Xlt supports parameter passing and variables. Is aspose.pdf able to use these feature?



Hello <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />Arnold,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.

Aspose.Pdf for .NET supports the feature of Replaceable symbols but I'm afraid currently it doesn't offer the capability to specify what font to use for a specific Text or Segment on the fly. I need to discuss this requirement with our development team and will keep you updated with the appropriate status.

Meanwhile, I would recommend you to visit the following link for information on Replaceable Symbols

We apologize for your inconvenience.


You can always run the XSL transform yourself & pass Aspose PDF for .NET the output XML. They recommend this anyway since they don’t support the new compiled XLST stuff.

Note: XslTransform class is obsolete in the Microsoft .NET Framework version 2.0. The XslCompiledTransform class is the new XSLT processor. Hence we cann’t use BindXML method taking XMLDocument as an input argument. So to complete that task we use BindXMLmethod of Pdf .