[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] handling tags and PIs within a macro


Subject: Re: [xsl] handling tags and PIs within a macro
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 24 Oct 2007 17:03:28 +0100

  is it possible to state in the template that when
  there is no <fid> element, the corresponding
  formalpara has no ID?


don't do 

 <formalpara id="{fid}">

do
<formalpara>
 <xsl:if test="fid">
  <xsl:attribute name="id"><xsl:value-of select="cid"/>


David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread