This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Hiding text


In message <E1E01DE0B65CD311B70000A0C9DE5A95F4BA17@coopex.rim.net>,
Laura Price <lprice@rim.net> writes

><element>blah blah blah <specialcontent>text text text </specialcontent>
>blah blah blah</element>
>
>I want the content of <element> to appear *without* the stuff inside
><specialcontent>.  what would be the best way to achieve this?

Just provide a template for the specialcontent element type which does
nothing at all:

<xsl:template match="specialcontent"></xsl:template>

Richard Light
SGML/XML and Museum Information Consultancy
richard@light.demon.co.uk


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]