![]() |
What is XFD and how to convert to XSL-FO/XSLT |
Post Reply
|
| Author | ||
gabig
Admin Group
Joined: 06 Aug 2008 Posts: 144 |
Post Options
Quote Reply
Topic: What is XFD and how to convert to XSL-FO/XSLTPosted: 23 Jul 2010 at 6:34am |
|
|
Q: What's the difference between XFD and XSL-FO/XSLT and how can I convert documents in one format into the other?
A: XFD is an XML format derived from both XSLT and XSL-FO and developed by Ecrion especially for use with XF Designer. While XSL-FO contains both the layout information and the data, XFD only contains the document layout and, similar to XSLT, references an external data source (usually XML). The XFD syntax is an extension of XSL-FO, and as such it's very easy to convert an XFD to an XSL-FO and vice-versa. The main difference between the two formats is the root element. For XSL-FO, the root element looks like this:
For XFD, the root is:
Depending on the root element, Ecrion products will treat the file as either XSL-FO or XFD. Note however that in XSL-FO, all the dynamic XFD elements are ignored. This is because XFD is a stylesheet like XSLT and is conceptually different from XSL-FO. Conversion from XFD to XSLT is possible using Ecrion products, however converting XSLT back to XFD is not possible. If needed, XSLT functionality can be included in XFD documents using the xfd:global-xslt and xfd:inline-xslt elements. Edited by gabig - 23 Jul 2010 at 8:43am |
||
![]() |
||
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |