Thanks a lot.
But maybe it's not the solution.
I want convert HTML to Latex.
In the <meta> tags is the "Author" but there are more <meta> tags.
for example:
----------
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<meta name="GENERATOR" content="Mozilla/4.7 [en] (X11; I; Linux 2.2.13 i686)
[Netscape]"/>
<meta name="Author" content="Der Autor"/>
<meta name="Description" content="Eine kleine beschreibung"/>
<meta name="Keywords" content="schlusselwort1, schlusselwort2"/>
<meta name="Classification" content="classification"/>
If I have the xpath expression in the select statment, it's possible
to define the order of execution.
But the <xsl:template match="meta"> will match ALL the <meta> tags.
Isn't there a way to drop the other <meta> tags without xsl:if?
BTW, I realy like Sablotron, great work !!
> Try this:
> <xsl:apply-templates select="meta[@name='author']"/>
> ...
> <<xsl:template match="meta">
> ...
>
> List of NOT implemented functions is here:
> http://www.gingerall.com/charlie-bin/get/webGA/act/sablot_man.act
>
>
> Bernhard Zwischenbrugger wrote:
>
> > Isn't that implemented?
> >
> >
> > <xsl:template match="meta/[@name='author']">
> > \author{
> > <xsl:value-of select="@content"/>
> > }
> > </xsl:template>
> >
--
Bernhard Zwischenbrugger
Tel.: +43/1/944 57 64
Mobil.: +43/699/1944 57 64
http://www.datenkueche.com