[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: xsl & unix functions
> * Bob Stayton <obof@fntruvyy.arg> [2005-08-30 17:00:18 -0700]:
>
>> 3. <filename role="unix">sys/socket.h</filename>
>> I want it to be rendered as if it were written
>> <filename><sys/socket.h></filename>
>> (but I do not want to have to enter the </> inside <filename>)
>
> Adding the < and > should not be a problem for the template if
> you use xsl:text.
I don't understand.
here is what I have now:
<xsl:template match="filename[@role='unix']">
<a class="{@role}" href="{$unix.top}basedefs/{translate(.,'/','')}.html"
><<xsl:apply-imports/>></a>
</xsl:template>
how do I wrap sys/socket.h with < and > _before_ the default
template is applied?
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://pmw.org.il/> <http://www.iris.org.il>
<http://www.savegushkatif.org> <http://www.mideasttruth.com/>
He who laughs last did not get the joke.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]