xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
Keywords
xsl
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor