xsl-list
[Top] [All Lists]

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

2005-07-22 03:21:35
Of course, it works again ;)

Thank you!
Ana

-----Mensaje original-----
De: George Cristian Bina [mailto:george(_at_)sync(_dot_)ro] 
Enviado el: viernes, 22 de julio de 2005 11:52
Para: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Asunto: Re: [xsl] 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>