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

RE: RE: how don't show the content of an element

Subject: RE: RE: how don't show the content of an element
From: "Ana Yndurain" <yndu@xxxxxxxxxxxx>
Date: Fri, 22 Jul 2005 12:21:35 +0200
RE: RE:  how don't show the content of an element
Of course, it works again ;)

Thank you!
Ana

-----Mensaje original-----
De: George Cristian Bina [mailto:george@xxxxxxx] 
Enviado el: viernes, 22 de julio de 2005 11:52
Para: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Asunto: Re:  how don't show the content of an element

Hi Ana,

Have a look at the built-in template rules.
http://www.w3.org/TR/xslt#built-in-rule

Adding a template that does nothing when it matches text nodes on that 
mode, like below, may solve your problem. Also you can select in the 
apply templates exactly the nodes that you want to be processed.

<xsl:template match="text()" mode="listametricas"/>

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Ana Yndurain wrote:
> Hi!
> 
> I have an xsl that shows some content that I doesn't want. In my XSL I
call
> some templates, and just after execute template "metricascomprobadas" when
> is going to execute template "listametricas" it show de content of the
> elements Metrics/Cycle/Package and I don't know why.
> In that example it shows:
> 
> es.m.p.bu.vo
> es.m.p.ws
> es.m.p.bu.ma
> es.m.p.bu.ex
> 
> es.m.p.ma
> es.m.p.ma.tr
> es.m.p.ma.psp
> 
> Could yoy give me any idea?
> 
> Here I write my XSL and the structure of my XML (given by Metrics 1.3.5)
> 
> Thanks! 
> Ana

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.