OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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-31 15:55:24 -0700]:
>
>> here is what I have now:
>>
>> <xsl:template match="filename[@role='unix']">
>>  <a class="{@role}" href="{$unix.top}basedefs/{translate(.,'/','')}.html"
>>     >&lt;<xsl:apply-imports/>&gt;</a>
>> </xsl:template>
>>
>> how do I wrap sys/socket.h with &lt; and &gt; _before_ the default
>> template is applied?
>
> You can't add content to a node and then use apply-imports on it.

too bad.

> You'll have to copy one of the inline templates and customize it.

what if the <filename> template were named?
could I use call-template?



-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://ffii.org/> <http://truepeace.org> <http://www.mideasttruth.com/>
<http://www.memri.org/> <http://www.jihadwatch.org/> <http://www.iris.org.il>
To a Lisp hacker, XML is S-expressions with extra cruft.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]