|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Copy all elemnts but one, not working
I believe I have my syntax correct, but for some reason this is still
returning everything. 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"
contentwidth="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()=
'imagedata')]"/>
</xsl:template>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








