xsl-list
[Top] [All Lists]

Re: Replace Apostrophe Template -- very brief example...not working

2003-10-10 12:36:04
Put the xsl:call-template within a template matching (any) text node.


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL


"Kathy Burke" <Kathy_Burke(_at_)Jabil(_dot_)com> wrote in message
news:395DE57EA5BB7F4E952B7B89775350B5021E4232(_at_)bosmsg10(_dot_)bos(_dot_)ena(_dot_)jabil(_dot_)com(_dot_)(_dot_)(_dot_)
I did TRY calling it, but must not have done it correctly. Were would I
call
it from, Tom? I would like it to apply to all output content.

Thanks. Kathy

-----Original Message-----
From: Passin, Tom [mailto:tpassin(_at_)mitretek(_dot_)org]
Sent: Friday, October 10, 2003 2:52 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Replace Apostrophe Template -- very brief
example...not working


[ Kathy Burke]

Hi, since I realize I posted my example that I'm sure was too long for
anyone to want to slogg through it, I'm reposting with a very
brief example
hoping someone can help me.

...
<body>
   <xsl:apply-templates/>
</body>

If you expect to escape-apos template to be invoked, you will have to
call it.  The template will not be applied automatically from
apply-templates since it does not match any node.  When it is called
with the right parameter, it __does__ escape the apostrophe.

Cheers,

Tom P


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



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






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