|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: no xmlns attribute in the xsl dtd?
"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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








