Subject: RE: [xsl] Select all Instances From: "beatrizlangiano" <beatrizlangiano@xxxxxxxxxx> Date: Fri, 7 Feb 2003 15:32:36 -0200 |
Is the second option: I want remove all the instances of one element, so I need find all of them. <xsl:template= ? elementname> </xsl:template> What I must do? Thanks, Beatriz > It depends what you mean by "process". > > If you want to do a specific thing to each one, with th e results appearing in the same place in the output tree, you could do something using a for-each: > > <xsl:for-each select="//myelement"> > ...do something. > </xsl:for-each> > > If you mean that you want to process an entire document and whenever you hit a particular element name, do a spe cific task, this is what apply- templates and template rules do by default. > > Hope this helps, > > Ben __________________________________________________________________________ E-mail Premium BOL Antivírus, anti-spam e até 100 MB de espaço. Assine já! http://email.bol.com.br/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Select all Instances, Ben Robb | Thread | Re: [xsl] Select all Instances, Oleg Tkachenko |
RE: [xsl] an external javascript qu, Passin, Tom | Date | Re: [xsl] Select all Instances, Oleg Tkachenko |
Month |