xsl-list
[Top] [All Lists]

Re: [text nodes] Unmatching text nodes wrongly inserted

2004-09-24 02:44:36
Many thanks to Anton and Francesco for the tips!

Concluding, among the others I found an introductory resource briefly
discussing default template overriding and conflict resolution
(http://www.inf.uni-konstanz.de/dbis/teaching/ss02/xml/download/xml-07.pdf).

Regards,
Stefano

-----Messaggio originale-----
Da:   Anton Triest [SMTP:anton(_at_)cking(_dot_)be]
Inviato:      venerdì 24 settembre 2004 10.34
A:    xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Oggetto:      Re: [xsl] [text nodes] Unmatching text nodes wrongly
inserted

Hi Stefano,

The stylesheet you posted:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    version="1.0" xmlns:xdm="http://www.aaa.it/consulta/xdmModel";>
    <xsl:template match="xdm:fields">
        <map font-family="Courier" font-size="10pt" height="1"
x-unit="in/10" y-unit="in/6">
            <xsl:apply-templates select="xdm:field[(_at_)name='CSBFT242']"/>
        </map>
    </xsl:template>
    <xsl:template match="xdm:field[(_at_)name='CSBFT242']">
        <label x="20" y="56" width="12">
            <xsl:value-of select="."/>
        </label>
    </xsl:template>
</xsl:stylesheet>

does not contain a <xsl:template match="/"> (matching the document root
node).

        [...]


<Prev in Thread] Current Thread [Next in Thread>