RE: [xsl] Combining two node Sets into one

Subject: RE: [xsl] Combining two node Sets into one
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 01 Apr 2005 15:28:11 -0500
Chris,

At 02:24 PM 4/1/2005, you wrote:
I solved the problem by using..

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:exsl="http://exslt.org/common";
                extension-element-prefixes="exsl"
                version="1.0">
  ...
  <!-- Now we can convert result tree fragment back to node-set -->
  <xsl:value-of select="exsl:node-set($author)/email"/>

But how does this effect the output for browsers such as mozilla, netscape,
and IE?  Will the browsers act differently?

Yes they will. XSLT engines that don't support the extension will fail when called to use it. This includes all the browsers that do client-side transformations, TMK.


But your transform is not so difficult that this should be necessary. If you want a table, just transform into a table: you can let your XSLT templates do the unifying, and don't need an explicit intermediate format.

Cheers,
Wendell


====================================================================== 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 ======================================================================

Current Thread