I have to find an element which contains "&" so I'm using contains(., '&') in my xsl 2.0. but I got the next error message from my oxygen:
F [Saxon-B 9.0.0.6] The entity name must immediately follow the '&' in the entity reference.
Really appricate any idea to solved this. Many thanks in advance!
Last edit: phyllis 2017-06-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This forum is no longer active. I recommend asking XSLT coding questions on StackOverflow. XSLT is XML so any ampersand must be escaped as & a m p ; (five characters, no spaces)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have to find an element which contains "&" so I'm using contains(., '&') in my xsl 2.0. but I got the next error message from my oxygen:
F [Saxon-B 9.0.0.6] The entity name must immediately follow the '&' in the entity reference.
Really appricate any idea to solved this. Many thanks in advance!
Last edit: phyllis 2017-06-23
This forum is no longer active. I recommend asking XSLT coding questions on StackOverflow. XSLT is XML so any ampersand must be escaped as & a m p ; (five characters, no spaces)
Thank you very much Michael. it works for me. I will post my questions on StackOverflow in the future.