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

Re: MSXML 3.0 XSLT. Does it work?

Subject: Re: MSXML 3.0 XSLT. Does it work?
From: sotiris@xxxxxxxxxx
Date: Wed, 12 Jul 2000 13:36:14 +0300
dave callis cyprus
Hi David,

Thanks for your reply,

This is a sample XML and stylesheet I have generated from an application I
am developing, to illustrate the problem that I have.  In the application
the disable-output-escaping is set to "yes".   I am (mis)using XSLT to
product MIF output (Maker Interchange Format) for FrameMaker which is not
well-formed.

I simply switched it to "no"  so that when testing on IE5 it wouldn't be
complaining that it can't parse the transformation result.

If understand that if the template rules don't match at all, then default
template rules apply (another subscriber explained this to me).  Is it
possible to switch these rules off?

For example, if a node contains three different subnodes below it:

     <a>
          <b>Hello</b>
          <c>There</c>
          <d>GoodBye</d>
     </a>

of which I only want to process one:

     <xsl:template match="a">
          <xsl:apply-templates/>
     </xsl:template>
     <xsl:template match="d">
          <xsl:value-of select="."/>
     </xsl:template>

as above, I do not want in my output the text values of b and c, just
because there is no match.

Sotiris, CTL, Cyprus


 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.