[Home] [By Thread] [By Date] [Recent Entries]
Karthik,
Why not bind your namespaces to prefixes in the usual way and use them accordingly? This doesn't appear to me to be about schemas as such, but only about the fact that your elements are in a namespace. So <xsl:stylesheet xmlns:xys="http://ABC/XYZ" xmlns:xyy="http://ABC/XYY" xmlns:qwe="http://ABC/QWE" ... ... <xsl:variable name="unique-countries" select="/xyz:cities/xyy:city[not(qwe:country=preceding-sibling::xyy:city/qwe:country)]/qwe:country" (Though one would hope that each of these three element types would not be in its own peculiar namespace.) The important point here is that the namespace prefixes don't have to be identical with those in the source documents as long as the namespace bindings themselves line up. Are we missing something? Cheers, Wendell At 10:50 AM 3/16/2007, you wrote: Hi, ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
|

Cart



