hanchilicious
Programmer
Hi,
Xtal XI
How do you turn this one field (contains no carriage returns):
<?xml version="1.0" encoding="UTF-8"?><qobject><type>QObjectVTIEpisode</type>
<created>2008-05-15T14:06:19</created>
<properties><episodeid>112806</episodeid>
<programmeid>1105133</programmeid><contentref>
</contentref><episodetitle></episodetitle...
into this:
created: 2008-05-12T14:06:19
episodeid: 112806
programmeid: 1150133...
where the section of the string to capture will always start with <created>, where this start point is not fixed by number of characters, and where other xml identifiers like <episodeid> for example, are not fixed by position, or may be entirely different fields altogether.
Xtal XI
How do you turn this one field (contains no carriage returns):
<?xml version="1.0" encoding="UTF-8"?><qobject><type>QObjectVTIEpisode</type>
<created>2008-05-15T14:06:19</created>
<properties><episodeid>112806</episodeid>
<programmeid>1105133</programmeid><contentref>
</contentref><episodetitle></episodetitle...
into this:
created: 2008-05-12T14:06:19
episodeid: 112806
programmeid: 1150133...
where the section of the string to capture will always start with <created>, where this start point is not fixed by number of characters, and where other xml identifiers like <episodeid> for example, are not fixed by position, or may be entirely different fields altogether.