Subject: [xsl] Grouping - using Referenced Schema From: Karthik <ckkarthik@xxxxxxxxx> Date: Fri, 16 Mar 2007 10:50:03 -0400 |
The source schema is a referenced Schema hence I am using Qualified Name in XPath.
<xsl:variable name="unique-countries" select="//cities/city[not(country=preceding-sibling::city/country)]/country" />
<xsl:variable name="unique-countries" select="/*[local-name()='cities' and namespace-uri()='http://ABC/XYZ']/[local-name()='city' and namespace-uri()='http://ABC/XYY'][not(country=preceding-sibling::city/country)]/*[local-name()='country' and namespace-uri()='http://ABC/QWE']" />
-- Thanks, Karthik
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Sequential numbers in pur, Dimitre Novatchev | Thread | Re: [xsl] Grouping - using Referenc, Wendell Piez |
Re: [xsl] Sequential numbers in pur, Nic James Ferrier | Date | Re: [xsl] Sequential numbers in pur, David Carlisle |
Month |