Re: MSXML 3.0 XSLT. Does it work?

Subject: Re: MSXML 3.0 XSLT. Does it work?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 12 Jul 2000 12:05:39 GMT
> In the application the disable-output-escaping is set to "yes". 
But as I said, The XSL system is explictly allowed to ignore this
attribute, so it is rarely a good idea to rely on it.

>  I am (mis)using XSLT to
> product MIF output (Maker Interchange Format) for FrameMaker which is not
> well-formed.

Then use the text output method not XML output.

> Is it possible to switch these rules off?
Just define them to be something else, for example:

<xsl:template match="*">hello</xsl:template>
<xsl:template match="text()">good bye</xsl:template>


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

well you could make the default * template as above, without the hello
but your stylesheet would probably be clearer if instead of applying
templates to things you don't want, you just apply them to things you do

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

David


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


Current Thread