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

RE: Re: Replace Apostrophe Template -- very briefexamp

Subject: RE: Re: Replace Apostrophe Template -- very briefexample.. .not working
From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx>
Date: Fri, 10 Oct 2003 15:37:21 -0400
replace apostrophe
Sorry, feeling stupid again, but I've tried this:

<xsl:template match="para">
<p>
<xsl:call-template name="escape-apos"/>
<xsl:value-of select="."/>
</p>

but still no change to \'  ??? Thanks, Kathy

-----Original Message-----
From: Dimitre Novatchev [mailto:dnovatchev@xxxxxxxxx]
Sent: Friday, October 10, 2003 3:36 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  Re: Replace Apostrophe Template -- very brief
example...not working


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@xxxxxxxxx> wrote in message
news:395DE57EA5BB7F4E952B7B89775350B5021E4232@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxx]
> Sent: Friday, October 10, 2003 2:52 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  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



 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.