xsl-list
[Top] [All Lists]

Re: [xsl] String Replacement in XML using XSLT

2006-09-25 11:11:23
Senthilkumaravelan Krishnanatham wrote:

  Hi

I need help in logic of  replacing the string in XML for
the below input.

  If you use XSLT 2.0, and if the problem is to replace some tagged
substring with computed value (depending of the matching substring),
I'd use xsl:analyze-string.

  With its help, and the help of the regexp Abel gave you to match the
tagged substring, you'll can easily say what to do with matching
substring (retrieve the actual value) and non-matching substring (copy
verbatim).

  Regards,

--drkm


























        

        
                
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--