Subject: Re: [xsl] How do I change a XSL style sheet to group data together under one heading From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 22 May 2007 17:27:54 +0200 |
Cheers, -- Abel Braaksma
I have tried the following and the error mesage for each.
<!-- date-time must become an attribute -->
<xsl:apply-templates select="sample_date_time, cp_name, imis_cp_ext, dischg_sample_cd, sample_comment" /> ####
<xsl:apply-templates select="key('sample', concat(sample_date_time, cp_name, imis_cp_ext, dischg_sample_cd, sample_comment))" />
and
<xsl:apply-templates select="*[not(self::sample_date_time, cp_name, imis_cp_ext, dischg_sample_cd, sample_comment)]" />
Line 16, character 38 (I assume it is line ###) Stylesheet error: Invalid XPath Expression Select
<!-- date-time must become an attribute -->
<xsl:apply-templates select="sample_date_time" />
<xsl:apply-templates select="key('sample', concat(sample_date_time, cp_name, imis_cp_ext, dischg_sample_cd, sample_comment))" />
And
<xsl:apply-templates select="*[not(self::sample_date_time, cp_name, imis_cp_ext, dischg_sample_cd, sample_comment)]
error:
Line 24 character 34 Error in XPath Expression, Error in XPath Expression,
Finally I tried the same as above but
<xsl:apply-templates select="*[not(self::concat(sample_date_time, cp_name, imis_cp_ext, dischg_sample_cd, sample_comment))]" />
Error Line 24 character 34 Stylesheet error: Invalid XPath Expression Select
I unfortunately do not have any say in the format of the final result as it is laid down by some other authority.
Thanks.
Hennie
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How do I change a XSL sty, kieters c | Thread | Re: [xsl] How do I change a XSL sty, kieters c |
AW: [xsl] XML Prague 2007 June 16th, Huditsch, Roman (LNG | Date | Re: [xsl] xsl xml loading status, Abel Braaksma |
Month |