Subject: [xsl] Using XSLT as a namespace filter... From: Nathan Potter <ndp@xxxxxxxxxxxxxxxxxxxx> Date: Mon, 12 Jan 2009 17:15:19 -0800 |
<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dap="http://xml.opendap.org/ns/DAP2"
<xsl:template match="/dap:Dataset"> <xsl:copy > <xsl:apply-templates /> </xsl:copy> </xsl:template>
<xsl:template match="dap:*"> <xsl:copy > <xsl:copy-of select="dap:*" /> </xsl:copy> </xsl:template>
<xsl:template match="*"> <xsl:apply-templates /> </xsl:template>
<xsl:template match="text()|@*"> <xsl:copy-of select="." /> </xsl:template>
<xsl:template match="text()|@*"> <xsl:copy-of select="." /> </xsl:template>
============================================================ Nathan Potter Oregon State University, COAS ndp at coas.oregonstate.edu 104 Ocean. Admin. Bldg. 541 737 2293 voice Corvallis, OR 97331-5503 541 737 2064 fax
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Using operators >> and <, G. Ken Holman | Thread | Re: [xsl] Using XSLT as a namespace, Florent Georges |
[xsl] Using operators >> and <<, Ylvisaker, Steve | Date | Re: [xsl] Using operators >> and <, G. Ken Holman |
Month |