Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 11th, 2004, 10:53 AM
Registered User
 
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Replace Character "

Hallo,

i tried to replace the special character " in a string but with no success .
I tried something like this:

<xsl:if test="contains($string, '&quot;')"> ...

I know, this doesn't replace anything. But still at this point the main problem occurs.
Because the entity " is replaced by the character " and that seems not to be allowed. I have no possibility to change the source document. I only know that there are these special characters which i want (must) change to \dq{}.
The result document is TEX.

I would appreciate any help.

Fosca
 
Old November 11th, 2004, 04:14 PM
Registered User
 
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found an answer by myself.

Thanks for all the answers :(





Similar Threads
Thread Thread Starter Forum Replies Last Post
preserving &quot; for later use in testing in xslt akentanaka XSLT 1 October 14th, 2008 03:59 AM
Replace character gregalb SQL Server 2000 6 July 12th, 2007 01:14 AM
replacing &quot; gantait XSLT 1 March 4th, 2007 10:44 AM
Character replace function? echovue Access 2 December 21st, 2004 01:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.