My script writes two files, first file is of links parsed from a webpage,
second file is the contents of those links (through a loop)
I want to add a string before and after each item of the loop (each item
represents contents of one of the links)
I tried to append that string in the retrieving loop , but I can't find a way
to do so. and I can't add it either in the CDATA return block, because it
seems to be handling the results as one chunk of data. What would be the
correct way to do that ?
Hi,
My script writes two files, first file is of links parsed from a webpage,
second file is the contents of those links (through a loop)
I want to add a string before and after each item of the loop (each item
represents contents of one of the links)
I tried to append that string in the retrieving loop , but I can't find a way
to do so. and I can't add it either in the CDATA return block, because it
seems to be handling the results as one chunk of data. What would be the
correct way to do that ?
Thanks
<file action="write" type="binary" path="test${sys.date()}.xml" charset="UTF-8">
<loop item="test" index="i">
<list>
<xpath expression="//a/@href">
<html-to-xml>
<http url="${testURL}"/>
</html-to-xml>
</xpath>
</list>
<xq-expression>
</xq-expression>
I realized I posted this thread to "Open Discussions" instead of "Help". I
will re-post it in the right place.