wow, I know it was simple. I did so well learning yesterday, but today
I forgot everything I learned.
Thank you.
On Thu, May 7, 2009 at 10:29 AM, Martin Honnen
<Martin(_dot_)Honnen(_at_)gmx(_dot_)de> wrote:
Douglas Wade wrote:
I tried a couple of things (looked online and such), but ended up
getting more confused. I want insert <xxx> before the <afi> element.
There are many elements prior to the element closing. This sounds
simple, but newbie-ness is getting in the way.
before:
<afi><fault
fcode="xx-xx-xxx"/><describe><fdesc>xxx</fdesc></describe></afi>
after:
<afi><xxx><fault
fcode="xx-xx-xxx"/><describe><fdesc>xxx</fdesc></describe><xxx></afi>
<xsl:template match="afi">
<xsl:copy>
<xxx>
<xsl:apply-templates/>
</xxx>
</xsl:copy>
</xsl:template>
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--