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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: XSL: Docbook to foreign DTD


At 21:16 03/01/2002 +0100, Jochen Hein wrote:

>I'm converting Docbook into a given DTD and have problems mapping
>xref.  It looks pretty easy:
>Docbook: <xref linkend="something"/> is going to be
><xref xlink:href="something"/> in the foreign DTD.
>
>My template
>
><xsl:template match="xref">
>   <xref>
>     <xsl:attribute name="xlink:href"><xsl:value-of 
> select="@linkend"/></xsl:attribute>
>   </xref>
></xsl:template>
>
>generates <xref href="something"/>, so I assume that gives me problems
>with some sort of namespace.  So my question is, how do I generate an
>attribute name with a colon?


the colon is for namespace seperation.
Either use a qname element or recognise the ns axis,

HTH DaveP



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


Powered by eList eXpress LLC