From: Tony G. <Ton...@Su...> - 2005-03-13 22:48:22
|
Before he joined the list, Phil Casidy submitted a bug report about a stylesheet that sends xmlroff into an endless loop. It does, but only after you run it on itself. The stylesheet, shown below, is not in the form of a literal result element but rather in the form of its equivalent stylesheet. I don't quite understand whether Phil is saying that he can use this stylesheet as the single argument with other XSL formatters. (Is that the case, Phil?). Whether or not I understand this stylesheet, it does raise the question of whether or not xmlroff should support a literal result element as stylesheet. Should it? Regards, Tony. ------------------------------------------------------------ <?xml version="1.0" encoding="iso-8859-15"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rx="http://www.renderx.com/XSL/Extensions" > <xsl:template match="/"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="mainPage" > <fo:region-body margin="1in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="mainPage"> <fo:flow flow-name="xsl-region-body"> <fo:block>Hello, world!</fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet> ------------------------------------------------------------ |