Replacing apostroph with XPath
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 26
- Joined: Wed Aug 24, 2005 10:47 am
Replacing apostroph with XPath
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
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service