RE: [xsl] Re: Comparing Node Text Content with a String Set

Subject: RE: [xsl] Re: Comparing Node Text Content with a String Set
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 28 Oct 2003 12:30:09 -0500

At 12:11 PM 10/28/2003, you wrote:
On the other hand,  the stylesheet
element is not allowed to have arbitrary elements as direct children, so
that route won't work.

I suppose the spec doesn't allow *arbitrary* elements as children of xsl:stylesheet, but:

In addition, the xsl:stylesheet element may contain any element not from the XSLT namespace, provided that the expanded-name of the element has a non-null namespace URI. [XSLT 2.2]

So declare a namespace for your lookup table and you're fine leaving it at the top level.

There are examples of this in the FAQ, and elsewhere.


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. 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 ======================================================================

XSL-List info and archive:

Current Thread