Subject: Re: [xsl] Default rule for passing matched elements thru unchanged? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 27 Feb 2002 11:56:37 -0500 |
<xsl:template match="node()|@*"> <xsl:copy name="{name()}"> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template>
Cheers, Wendell
I'm baffled by how to build an xslt stylesheet that recognizes specified elements while passing those not specified through unchanged. The application intends to add programming capabilities to ordinary xhtml documents; e.g. show, if, foreach, etc, where these might appear anywhere, such as within xhtml elements. I'd rather not enumerate every imaginable xhtml element name; I don't have the complete list.
====================================================================== 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Default rule for passing , Mike Brown | Thread | Re: [xsl] Default rule for passing , Brad Cox |
[xsl] XSLT templates for HTML/XHTML, Andrew Mottershead | Date | RE: [xsl] TestPresence, McNally, David |
Month |