I am starting to work with XML and subsequently am needing to build the XML Data which can sometimes be quite a long string.
For example:
If I need to create the below to POST I am doing this in the code below and in the IDE it is a long string so I was wondering can I go to a new line in the IDE?
Code: Select all
put "<notes>Test api support</notes>" &cr&"<hours>3</hours>" &cr"<project_id type="integer">3</project_id>"&cr&"<task_id type="integer">14</task_id>" into tPostData -- etc etc
<notes>Test api support</notes>
<hours>3</hours>
<project_id type="integer">3</project_id>
<task_id type="integer">14</task_id>
<spent_at type="date">Tue, 17 Oct 2006</spent_at>
</request>