Dominic (4)
Usenet Archive
- Joined
- Apr 28, 2010
- Messages
- 5
- Reaction score
- 0
Hi there,
I'm dipping my toes into XSL and have used it a little in order to remove the XML header of some XML which an API kept choking on (not sure why TBH, seems an odd state of affairs that!). Now a different API is choking on " (double quote - (HTML: ")) but is fine with ' (single quote (HTML: ')) for enclosing attributes. I've been using a simple string replace to convert "s to 's (If you see what I mean?) but have to convert the XML to a string rather than keep it as XML. Is there an XSL way that'll do the same thing so that I can keep the XML as XML?
Thanks in advance
Dom
I'm dipping my toes into XSL and have used it a little in order to remove the XML header of some XML which an API kept choking on (not sure why TBH, seems an odd state of affairs that!). Now a different API is choking on " (double quote - (HTML: ")) but is fine with ' (single quote (HTML: ')) for enclosing attributes. I've been using a simple string replace to convert "s to 's (If you see what I mean?) but have to convert the XML to a string rather than keep it as XML. Is there an XSL way that'll do the same thing so that I can keep the XML as XML?
Thanks in advance
Dom