xsl-list
[Top] [All Lists]

Re: [xsl] Print parent text

2007-08-23 09:31:44
Whoops, sorry. Missed out the block for the para. It should have read

      <xsl:template match="para">
                <fo:block>
                 <xsl:apply-templates/>
                </fo:block>
        </xsl:template>



AAS Contractor <AAS(_dot_)Contractor(_at_)iop(_dot_)org> wrote on 23/08/2007 
17:21:29:

What an extraordary way to try to do things! Why not just use 
<apply-templates>? As in :

        <xsl:template match = "crossreferecne">
                <fo:block>
                        <xsl:text>Cross Referecne</xsl:text>
                        <xsl:apply-templates>
                <fo:block>
        </xsl:template>

        <xsl:template match="para">
                <xsl:apply-templates/>
        </xsl:template>

        <xsl:template match="emphasis">
                <fo:inline font-weight="bold">
                        <xsl:apply-templates/>
                </fo:inline>
        </xsl:template>


************************************************************************
This email (and attachments) are confidential and intended for the addressee(s) 
only. If you are not the intended recipient please notify the sender, delete 
any copies and do not take action in reliance on it. Any views expressed are 
the author's and do not represent those of IOP, except where specifically 
stated. IOP takes reasonable precautions to protect against viruses but accepts 
no responsibility for loss or damage arising from virus infection. For the 
protection of IOP's systems and staff emails are scanned automatically.

IOP Publishing Limited Registered in England under Registration No 467514. 
Registered Office: Dirac House, Temple Back, Bristol BS1 6BE England
Vat No GB 461 6000 84.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>