On Fri, April 8, 2011 9:52 am, Dave Pawson wrote:
...
<xsl:template match="text()">
Or
<xsl:template match="text()[not(parent::property)]">
so, if you also order the property list from longest to shortest, you
won't mark up a shorter property name inside a longer.
...
<xsl:template match="*">
<xsl:copy>
<xsl:apply-templates select="@*" />
<xsl:apply-templates >
You just stripped all comments and PIs. Is that a problem?
Regards,
Tony Graham
Mentea.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--