xsl-list
[Top] [All Lists]

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

2003-10-10 12:02:06
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