|
Subject: [xsl] Copy all elemnts but one, not working From: "Huerta, Micah" <MHuerta@xxxxxxx> Date: Wed, 28 Dec 2005 10:10:57 -0500 |
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>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Could not compile stylesheet , UlyLee | Thread | RE: [xsl] Copy all elemnts but one,, Haarman, Michael |
| RE: RE: [xsl] get variable value in, cknell | Date | RE: RE: [xsl] get variable value in, Haarman, Michael |
| Month |