Re: Ignore childs

Subject: Re: Ignore childs
From: Steve Tinney <stinney@xxxxxxxxxxxxx>
Date: Fri, 10 Mar 2000 07:37:16 -0500
>    <section>
>      <title>This is the title with the acronym
>              <def-acronym>
>                  <acronym>XML</acronym>
>                  <expansion>eXtensible Markup Language</expansion>
>              </def-acronym>
>      </title>
>      <par>Content of the section</par>
>    </section>
> 
> And I want this output:
> 
>     This is the title with the acronym XML

Rather than taking the value simply of title, do something like:

	<xsl:value-of select="normalize-space(title/text())"/>
        <xsl:text> </xsl:text>
        <xsl:value-of select="title/def-acronym/acronym"/>

Steve


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


Current Thread