Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling XSLT default output

Status
Not open for further replies.

Nosferatu

Programmer
Jun 9, 2000
412
RO
Hello...

I am desperately trying this for a few days now (in 2-3 hour reprises :))
within my stylesheet there are several templates that take care of specific data. Since the structure of the XML is extremely complicated - recursive, 14 choices or so... I just want my templates to do their job on each choice and then, recursively apply the templates by a call to
Code:
xsl:apply-templates
.

The question is How do I get rid of the default output from the XSLT processor?????

If I use <xsl:value-of select... something> in my template, I just get a duplicate of the content when calling apply-templates.

Can anybody help on this? [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
OK... that was easier than I thought and it was too obvious to see it :p...

Code:
<xsl:template match=&quot;text()&quot;/>
[red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top