|
-
Apr 8th, 2002, 06:18 PM
#1
Thread Starter
Addicted Member
Problems with Quotes
Problems with Quotes I have a line with quotes inside of it. It's XML. How do i deal with that. It also has variables within it. What would i need to do to fix this. It ends the quote on the second " can i use ( or { or [ s?
code snipit:
Print #1, <?xml version="1.0" ?><UPLOADINFO TYPE="Escalated"><UPLOADDATA USERNAME="%VARIABLE1%"
if i put quotes around it it will just all screw up... how to fix this?
-
Apr 8th, 2002, 06:22 PM
#2
PowerPoster
Re: Problems with Quotes
VB Code:
Print #1, "<?xml version=" & chr(34) & "1.0" & Chr(34) & " ?><UPLOADINFO TYPE=" & Chr(34) & "Escalated" & chr(34) & "><UPLOADDATA USERNAME=" & chr(34) & "%VARIABLE1%" & chr(34) & ">"
-
Apr 8th, 2002, 06:28 PM
#3
Thread Starter
Addicted Member
tysm! you're like the only person who will answer my posts... heh
-
Apr 8th, 2002, 06:32 PM
#4
PowerPoster
I tried to answer this in your other post, but I guess you didn't see that, or you didn't understand my half-assed explaination.
-
Apr 8th, 2002, 06:59 PM
#5
Thread Starter
Addicted Member
think i'll just give up and get it to copy an existing .xml file then just use the replace command to get all the right variables in. Though this way would be easier but instead it snow balled with all the quotes and stuff...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|