Subject: Re: [xsl] Re: Move (ascend) an element From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 09 Nov 2004 17:34:20 -0500 |
I used a modification of the provided example to try and move indexterms from inside /figure/title to just above the title, but I seem to be losing my figure attributes like id and role (because of a shallow copy?)--doing it this way also for some reason takes another indexterm from earlier in the xml file and puts it right before the one I want moved (this, I have no clue about):
<xsl:template match="figure[child::title[child::indexterm]]"> <xsl:copy> <xsl:copy-of select="//indexterm"/>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Move (ascend) an element, Naomi Gronson | Thread | Re: [xsl] Re: Move (ascend) an elem, Naomi Gronson |
[xsl] Create a bit mask ?, Saba | Date | [xsl] build a select clause or dyna, Andy Dent |
Month |