[xsl] Copy all elemnts but one, not working
by Micah Huerta other posts by this author
Dec 28 2005 7:27AM messages near this date
Re: RE: [xsl] Using keys to build a tree represented in XMI
|
RE: [xsl] Copy all elemnts but one, not working
& XSLT I believe I have my syntax correct, but for some reason this is still returning every
thing. I am trying to exclude the image. Does anyone know why this doesn't work?
Thanks,
Micah
Source XML:
<SIGNATURES>
       <SIGNATURE SIGNATURE_ID="09009978800b4a44">
         <SIGNATURE_ID> 09009978800b4a44</SIGNATURE_ID>
         <chapter>
           <title/>
           <para role="mcx-Paragraph">
             <mediaobject>
               <imageobject>
                 <imagedata contentdepth="0.9895833333333334in" contentwid
th="4.9375in"
                   fileref="AFELIX_-_SIGNATURE_3-1.png"/>
               </imageobject>
             </mediaobject>
           </para>
           <para role="mcx-Paragraph"> FirstName M. LastName</para>
           <para role="mcx-Paragraph"> Engineer</para>
           <para role="mcx-Paragraph"> My Company</para>
         </chapter>
       </SIGNATURE>
     </SIGNATURES>
XSLT:
<xsl:template match="SIGNATURE">
                       <xsl:copy-of select="chapter/*[not(name()= 'i
magedata')]"/>
</xsl:template>
--~------------------------------------------------------------------
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@[...].com>
--~--
Thread:
Micah Huerta
Michael Haarman
Michael Haarman
Micah Huerta
Michael Haarman
Micah Huerta
|