Hi,

as an attachment I sent you an XSLT stylesheet that converts documents 
from the xslfo candidate recommendation to the proposed recommendation.

You can use it as a second transformer in the pipeline.

Patrick



Morrison, John wrote:

>>From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, 22 January 2002 1:22 pm
>>To: [EMAIL PROTECTED]
>>Subject: RE: FW: [ANNOUNCEMENT] FOP 0.20.3 Release Candidate available
>>
>>
>>
>>>Morrison, John wrote:
>>>
>>>
>>>
>>>>As I feared, it seems that the new fop has changed (I think 
>>>>this happens
>>>>with each fop release...).
>>>>I get the following exception with our two examples:
>>>>
>>>>java.lang.RuntimeException: org.apache.fop.apps.FOPException:
>>>>'master-reference'
>>>> for 'fo:page-sequence'matches no 'simple-page-master' or
>>>>'page-sequence-master'
>>>>
>>>>So, if someone is able to fix this, this would be great and 
>>>>we can update.
>>>>But if not, we shouldn't upgrade as this would break our 
>>>>
>>fop examples.
>>
>>>Ah, yes - that rings bells.  They caught up with the specification.
>>>We prob ought to upgrade and fix the examples.
>>>
>>>I'll see what I can do, unfortunately I'm in a meeting from 2 (GMT).
>>>I *may* have time tomorrow...
>>>
>>>
>>That would be great!
>>
>>Don't hurry - unfortunately there are more than the fop 
>>examples which 
>>are currently not working...
>>
> 
> :( true - but the fo ones I can prob fix ;)
> 
> I had a look at the svg ones but gave up in disgust...
> 
> J.
> 
> 
> =======================================================================
> Information in this email and any attachments are confidential, and may
> not be copied or used by anyone other than the addressee, nor disclosed
> to any third party without our permission.  There is no intention to
> create any legally binding contract or other commitment through the use
> of this email.
> 
> Experian Limited (registration number 653331).  
> Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 
> 


<?xml version="1.0" encoding="iso-8859-1"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:fo="http://www.w3.org/1999/XSL/Format";
                version="1.0">

  <xsl:output method="xml"/>

  <xsl:template match="/ | * | @* | text() | comment() | processing-instruction()" priority="-1">
    <xsl:copy>
      <xsl:apply-templates select="*|@*|text()|comment()|processing-instruction()"/>
    </xsl:copy>
  </xsl:template>

  <xsl:template match="@space-treatment">
    <xsl:attribute name="white-space-treatment"><xsl:value-of select="."/></xsl:attribute>
  </xsl:template>

  <xsl:template match="fo:page-sequence/@master-name
                     | fo:single-page-master-reference/@master-name
                     | fo:repeatable-page-master-reference/@master-name
                     | fo:conditional-page-master-reference/@master-name">
    <xsl:attribute name="master-reference"><xsl:value-of select="."/></xsl:attribute>
  </xsl:template>

</xsl:stylesheet>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to