Replacing apostroph with XPath
Posted: Wed Oct 04, 2006 3:09 pm
Hi,
I have a tag <note> containing text with apostrophs. Is there a way to replace them with another character that does not bring about trouble? E.g. I'd like to use a javascript alert window to display <note>, but with these pesky apostrophs I gt an error message.
I've already tried 'translate', but always got into trouble with unmatched quotes.
Thanks,
Frank
I have a tag <note> containing text with apostrophs. Is there a way to replace them with another character that does not bring about trouble? E.g. I'd like to use a javascript alert window to display <note>, but with these pesky apostrophs I gt an error message.
I've already tried 'translate', but always got into trouble with unmatched quotes.
Thanks,
Frank