I am using this to pull in an XML feed:
<$imports='
recdelim >><GSP
field SN varchar(10) />>\RSN\P\=\x22=[^\x22]+ ""
field EN varchar(10) />>\REN\P\=\x22=[^\x22]+ ""
field Counted varchar(20) />><M>\P=!</M>+ ""
field Pell varchar(20) />>\Rq\P\=\x22=[^\x22]+ ""
'>
<$imports2='
recdelim >><R\x20N
field ShowURL varchar(40) />><U>\P=!</U>+ ""
field Title varchar(80) />><T>\P=!</T>+ ""
field Abstract varchar(100) />><S>\P=!</S>+ ""
'></a>
If this is what comes back, and the " is automatically changed with a ' how do I detect it? Currently it comes back blank because it is looking for the " after the q= not a ', but normally it is q="spelling correction", however if the user sends a request with double quotes then it changes it to q='"spelling suggestion"'
<Spelling><Suggestion q='"sharon schnell hobbs"'>"sharon <b><i>schnell</i></b> hobbs"</Suggestion></Spelling>
Any help or suggestions would be greatly appreciated. Thanks Gerry
<$imports='
recdelim >><GSP
field SN varchar(10) />>\RSN\P\=\x22=[^\x22]+ ""
field EN varchar(10) />>\REN\P\=\x22=[^\x22]+ ""
field Counted varchar(20) />><M>\P=!</M>+ ""
field Pell varchar(20) />>\Rq\P\=\x22=[^\x22]+ ""
'>
<$imports2='
recdelim >><R\x20N
field ShowURL varchar(40) />><U>\P=!</U>+ ""
field Title varchar(80) />><T>\P=!</T>+ ""
field Abstract varchar(100) />><S>\P=!</S>+ ""
'></a>
If this is what comes back, and the " is automatically changed with a ' how do I detect it? Currently it comes back blank because it is looking for the " after the q= not a ', but normally it is q="spelling correction", however if the user sends a request with double quotes then it changes it to q='"spelling suggestion"'
<Spelling><Suggestion q='"sharon schnell hobbs"'>"sharon <b><i>schnell</i></b> hobbs"</Suggestion></Spelling>
Any help or suggestions would be greatly appreciated. Thanks Gerry