Results 1 to 5 of 5

Thread: Problems with Quotes

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    Martin County , FL
    Posts
    153

    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?

  2. #2
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125

    Re: Problems with Quotes

    VB Code:
    1. Print #1,  "<?xml version=" & chr(34) & "1.0" & Chr(34) & " ?><UPLOADINFO TYPE=" & Chr(34) & "Escalated" & chr(34) & "><UPLOADDATA USERNAME=" & chr(34) & "%VARIABLE1%" & chr(34) & ">"
    <removed by admin>

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    Martin County , FL
    Posts
    153
    tysm! you're like the only person who will answer my posts... heh

  4. #4
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    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.
    <removed by admin>

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Location
    Martin County , FL
    Posts
    153
    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
  •  



Click Here to Expand Forum to Full Width