[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Match multiple times output once
Dont you just want <xsl:for-each select="relation[attribute::className='a'][1]"> ... Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: SINGH Navpreet [mailto:Navpreet.SINGH@xxxxxxxxx] > Sent: 28 August 2005 23:12 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Match multiple times output once > > Hi > I am having trouble with xsl:call-template. > <xsl:for-each select="relation[attribute::className='a']"> > <xsl:call-template name="b1_u_populate"> > <xsl:with-param name="rhs"><xsl:value-of > select="node[attribute::className='b']/PartNumber"/></xsl:with-param> > </xsl:call-template> > </xsl:for-each> > I have multiple relation child element of the root element. I > want to call call-template only once. So whenever the above > condition is true and the xsl:call-template is called once > the loop shold be existed. Can you please suggests me any solution. > > Thanks, > Navpreet
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|