[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How do I change a XSL style sheet to group data t
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 From: Abel Braaksma <abel.online@xxxxxxxxx> _________________________________________________________________ Share folders without harming wildlife! http://www.communicationevolved.com/en-za/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|