How do I load XML document with quotes in it?

Just started using Construct 2? Post your questions here

Post » Tue Mar 03, 2015 1:31 pm

Hello;

I want to use the XML addon, the load command:
</>XML load XML document from string "blah blah"
My xpath calls work fine when "blah blah" is the actual XML text (minus all " of course).
But XML has lots of "" marks in it. How do I get it to accept the "quote marks" and not confuse
these with the ones that have to start and end the string.

IE " something <en="blah"> something something" wont work since there are quotes in quotes.

thanks for you time.
Yours
Winkr7
B
31
S
8
G
3
Posts: 162
Reputation: 3,216

Post » Tue Mar 03, 2015 4:33 pm

Code: Select all
"something <en=""blah""> something something"


Yo dawg I heard C2 likes quotes so I put quotes on your quotes.

(or you can load from a file)
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,610

Post » Wed Mar 04, 2015 7:10 am

ramones wrote:Yo dawg I heard C2 likes quotes so I put quotes on your quotes.


Image
B
18
S
3
G
3
Posts: 109
Reputation: 2,784


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest