What I mean by the below question is rather : What software is
required to extract certain data from an XML document that is served
from another website?
On Thu, 27 Nov 2003 03:15:22 GMT, learnhubremthis only@singnet.co m.sg
(Ken) wrote:
[color=blue]
>
>What software is required to extract certain data from an XML
>document?[/color]
Ken wrote:[color=blue]
>
> On Thu, 27 Nov 2003 03:15:22 GMT, learnhubremthis only@singnet.co m.sg
> (Ken) wrote:
>
>
> What I mean by the below question is rather : What software is
> required to extract certain data from an XML document that is served
> from another website?
>[color=green]
>>What software is required to extract certain data from an XML
>>document?[/color][/color]
XML parsers know how to load files via HTTP so all you need is an XML
parser. Check http://xml.apache.org/ for XML parsers.
--
In article <3fc6707b.64184 50@news.singnet .com.sg>,
Ken <learnhubremthi sonly@singnet.c om.sg> wrote:
% What I mean by the below question is rather : What software is
% required to extract certain data from an XML document that is served
% from another website?
What do you want to do? There are programs which can extract data
and stick it a relational database. There are programs which can
extract data and write it to a flat file. There are libraries which
can feed data directly to an application you've written.
I want to extract the data and put them into an access database. But
do tell me more about the other programs like libraries which can feed
data directl y to an application I have written.
Tks
On Thu, 27 Nov 2003 16:57:34 +0100 (MET), ptjm@interlog.c om (Patrick
TJ McPhee) wrote:
[color=blue]
>In article <3fc6707b.64184 50@news.singnet .com.sg>,
>Ken <learnhubremthi sonly@singnet.c om.sg> wrote:
>
>% What I mean by the below question is rather : What software is
>% required to extract certain data from an XML document that is served
>% from another website?
>
>What do you want to do? There are programs which can extract data
>and stick it a relational database. There are programs which can
>extract data and write it to a flat file. There are libraries which
>can feed data directly to an application you've written.[/color]
Thanks Devon. I use your method and can't seem to return the required
elements. Can you tell me what's wrong with the code below? The code
is adapted from http://www.w3schools.com/xsl/xsl_value_of.asp
--------------- code start here -------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:styleshe et version="1.0"
xmlns:xsl="http ://www.w3.org/1999/XSL/Transform">
-------------------- code end here -------------------
On Thu, 27 Nov 2003 18:33:54 GMT, user@domain.inv alid wrote:
[color=blue]
>
>[color=green]
>> What software is
>> required to extract certain data from an XML document that is served
>> from another website?[/color]
>
>You can use XSLT's document() function.
>
>Code example:
>
><xsl:templat e match="foo">
><xsl:apply-templates select="documen t('http://www.theserver.c om/foo.xml')"/>
></xsl:template>
>
>
>Devon[/color]
In article <3fc6c028.76016 649@news.singne t.com.sg>,
Ken <learnhubremthi sonly@singnet.c om.sg> wrote:
% I want to extract the data and put them into an access database. But
% do tell me more about the other programs like libraries which can feed
% data directl y to an application I have written.
I was thinking specifically of XML parsers, and in particular parsers
which have XPath implementations . There are many of them floating around.
--
Comment