> John RW wrote:
>
> > I am new to the list, I wonder if there is a way to disable the'col'
> > and 'key' attributes in the query result.
>
>
> No, not at the moment.
>
>
You could just rip out the "excessive" attributes with this stylesheet:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:src="http://xml.apache.org/xindice/Query";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<!-- removes Xindice query attributes -->
    <xsl:template match="*|@*">
        <xsl:copy>
            <xsl:apply-templates select="*|@*|text()" />
        </xsl:copy>
    </xsl:template>
    <xsl:template match="@src:key|@src:col">
    </xsl:template>
</xsl:stylesheet>

Regards,
Wouter de Vaal

Reply via email to