[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Print parent text

Subject: Re: Print parent text
From: Luke Jones <ljones@xxxxxxxxxx>
Date: Thu, 23 Aug 2007 11:33:12 -0500
Re:  Print parent text
Oh, I think I also noticed an error with this suggestion (granted I have
not tested this, just an observation).  However, since the emphasis
nodes are in fact children to the para nodes, wouldn't a
xsl:apply-templates print out not only the parent text but the child
nodes as well.  Therefore, would this not result in a duplicate printing
of the emphasis text (one with the bold text and one without?)

Thanks!

On Thu, 2007-08-23 at 17:21 +0100, AAS Contractor wrote:
> 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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.