xsl-list
[Top] [All Lists]

RE: Generating numeric character references

2003-01-14 15:08:41
Tom,

I appreciate the "thinking outside the box" idea, but this case is
constrained to do the processing inside of the XSLT processor. I am also
only interested in performing transforming some of the text, as selected
in the course of the XSLT processing.

A script extension element or external object are options for doing
string processing along those lines. Are there any other approaches?

Thanks for your thoughts.

Cheers,
Stuart

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of 
Passin, Tom
Sent: Tuesday, January 14, 2003 13:34
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Generating numeric character references

[Stuart Celarier]

I'd like to transform specific text subtrings into numeric 
character references during in an XSLT transformation. For 
example, I want to transform all occurrences that look like 
"­" within a string into "&#173".


Sounds like preprocessing would be a good thing to do.  Any kind of
string replace would do, wouldn't it?

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