Subject: Re: Processing two documents, which order?
From: "Tony Graham" <tgraham@xxxxxxxxxx>
Date: Fri, 8 Apr 2011 10:38:21 +0100 (IST)
|
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.
|