Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,

Does any one know how to use string replace option in xslt? In my xml file I have a attribute value C1. I need to change C1 as Chapter 1. Can anyone guide me. I have gone through various sites for reference they provide sample for how to use string replace but not the namespaces used for it.

I need to know the namespace to be used in particular for using string replace function.

If you have any idea please help me out.

Thanks in advance.
Posted

1 solution

OK, the name space you need is System.Xml.Xsl. You can start here:
http://msdn.microsoft.com/en-us/library/14689742.aspx[^],
http://msdn.microsoft.com/en-us/library/70k6zz96[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900