Subject: Re: AW: XSL: Want to delete text from an XML file
From: Julie Holloway <jhllwy@xxxxxxxxx>
Date: Wed, 3 Sep 2003 08:45:49 -0700 (PDT)
|
Markus !!
I was so close !! I had tried:
<xsl:template
match="extension/view[@name='%Ejb_Project_view']"/>
And I kept just getting rid of the view element.
Thanks !!! Its so easy once you see how its done !!!
--- Markus Abt <abt@xxxxxxxx> wrote:
> Hi Julie,
>
> use this template to delete it:
>
> <xsl:template
> match="extension[view/@name='%Ejb_Project_view']"/>
>
> Regards,
> Markus
> __________________________
> Markus Abt
> Comet Computer GmbH
> http://www.comet.de
>
>
> ----------
> Von: Julie Holloway
> Gesendet: Mittwoch, 3. September 2003 16:54
> An: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: XSL: Want to delete text from an XML
> file
>
> I am trying to delete an element from an xml file
> using an xsl file.
> The format of the xml file looks something like
> this:
> <!-- ************************************* -->
> <!-- Project Tree View -->
> <!-- ************************************* -->
> <extension
> point="org.a1.b1.views">
> <category
> name="%Views_category"
> id="com.test.views">
> </category>
> <view
> name="%Project_view"
> icon="images/projectView.gif"
> category="com.test.views"
> class="com.test.views.web.WebProjectView"
> id="com.test.views.web.WebProjectView">
> </view>
> </extension>
> <!-- ************************************* -->
> <!-- EJB Project Tree View -->
> <!-- ************************************* -->
> <extension
> point="org.a1.b1.views">
> <category
> name="%Views_category"
> id="com.test.views">
> </category>
> <view
> name="%Ejb_Project_view"
> icon="images/projectView.gif"
> category="com.test.views"
> class="com.test.views.ejb.EjbProjectView"
> id="com.test.views.ejb.EjbProjectView">
> </view>
> </extension>
>
> I am trying to delete the EJB Project Tree View
> extension.
> If you will notice, the extension point is the same
> between the Project Tree View and the EJB Project
> Tree
> View. I can't seem to figure out how to delete the
> EJB
> extension without also deleting the Project Tree
> View
> extension.
>
> Does anyone have any suggestions?
> Thank you,
>
>
>
> =====
> Julie
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> http://sitebuilder.yahoo.com
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
>
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
=====
Julie
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|