Re: no xmlns attribute in the xsl dtd?

Subject: Re: no xmlns attribute in the xsl dtd?
From: James Clark <jjc@xxxxxxxxxx>
Date: Tue, 02 Mar 1999 08:33:26 +0700
"Mark D. Anderson" wrote:

> By the way, I'm also completely mystified by what i'm supposed to
> be doing with any html fragments in my source xml.
> If I escape the "<", then those stay escaped all the way through,
> and if I don't escape them, then xt removes the tags until
> i painstakingly insert xsl templates for the subset i'm using:
> <xsl:template match="p"><p><xsl:value-of select="."/></p></xsl:template>
> etc.

If you just do something like:

<xsl:template match="*|@*" priority="-1">
  <xsl:copy>
    <xsl:apply-templates select="@*|*|text()"/>
  </xsl:copy>
</xsl:template>

then tags for which no other handling is specified will be copied
through.

James



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread