[Home] [By Thread] [By Date] [Recent Entries]
Senthilkumaravelan Krishnanatham wrote:
Hi Guys, I have question regarding Validating the Email in my XML. Can you please help me to give an idea,how should I go about the same. My XML file looks like <EMAIL_TO>senthil@xxxxxxx</EMAIL_TO> <EMAIL_BCC>senthil@xxxxxxx</EMAIL_BCC> <EMAIL_CC>senthil@xxxxxxx</EMAIL_CC> this is prob not an XSLT question...your best bet is to use regular expressions...perhaps there is some schema approach using XML Schema or RelaxNG...dont know never tried. As for regex; xslt 1.0 needs an extension: http://www.exslt.org/regexp/index.html xslt 2.0 has regex capability built in google on email and regular expressions...be warned I have not been able to find in 10 years a regex that covers everything. gl, Jim Fuller
|

Cart



