xsl-list
[Top] [All Lists]

RE: XHTML to XHTML transform

2004-04-02 15:12:29
At 03:32 PM 4/2/2004, it was written:
Yes. Say the uri for mynamespace:* is defined as

xmlns:mynamespace="my:namespace"

Then you can do:

<xsl:template match="*[not(namespace-uri()='my:namespace']" />

And you can also do

<xsl:template match="mynamespace:*" />

Cheers,
Wendell



======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
======================================================================



<Prev in Thread] Current Thread [Next in Thread>