Hi, Tom
I am not very sure what your problem is. If you want to produce your html
code, there are few ways ,e.g.:
1.
<xsl:template match="/test">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="//my-special-tag">
Here is my content which should be surrounded by the html code.
</xsl:template>
2.
<xsl:template match="/test">
<xsl:apply-templates />
</xsl:template>
<xsl:template match="/b/my-special-tag">
Here is my content which should be surrounded by the html code.
</xsl:template>
Christine Li
XSLT Development
IBM Toronto Lab
Tel: (905)413-2601
Email: [EMAIL PROTECTED]
Tom Schindl <[EMAIL PROTECTED]> wrote on 04/20/2004 07:00:39 AM:
> Hi,
>
> -----------------8<-----------------
> <test>
> <b><my-special-tag /></b>
> </test>
> ----------------->8-----------------
>
> -----------------8<-----------------
> <xsl:template match="/test">
> <xsl:apply-templates />
> </xsl:template>
>
> <xsl:template match="my-special-tag">
> Here is my content which should be surrounded by the html code.
> </xsl:template>
> ----------------->8-----------------
>
> I had solved this sometime ago but could not remember how I did it. I
> don't want to register <xsl:template match="b">.... because I have todo
> this for every html-tag neither I want to overwrite the default-template
> <xsl:template match="*|@*">.
>
> Do I remember wrong when thinking that xalan supports something like
this?
>
> Tom