[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: AW: XSL: Want to delete text from an XML file

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)
julie holloway
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.