List Info

Thread: XML and datasources




XML and datasources
country flaguser name
United States
2008-07-10 04:23:58

Can someone clarify whether the datasource can read xml or not? Reading
through recent posts it seems not - (I am having trouble loading into a
datatable from xml)
Also can the yui be used without any php server side capability? Basic
question I know but couldn't find the definitive answer to this.

Thanks, Alex

__._,_.___
.

__,_._,___
Re: XML and datasources
country flaguser name
Spain
2008-07-10 05:55:10

Yes, it can read XML, though not any format. It expects either an
element containing repeated elements which will go each into a row.
This repeating elements can either have named attributes or named
elements enclosed in it or a combination of both. It will fetch the
values through those names. It offers a limited number of configuration
attributes and those cover just those two possibilities. A frequently
used format is to have a header with field definitions and then the rows
in the body all with the same name with the value of some attribute
telling which field definition it corresponds to. That level of
indirection it cannot handle.

It does not need a PHP or anything but a web server to provide the
data. For example, one of the options is to use a plain text file.
Such a file could be exported from any spreadsheet as a static file in a
public location and the DataSource can read it.

Satyam

alexlebek wrote:
> Can someone clarify whether the datasource can read xml or not? Reading
> through recent posts it seems not - (I am having trouble loading into a
> datatable from xml)
>; Also can the yui be used without any php server side capability? Basic
> question I know but couldn't find the definitive answer to this.
>
> Thanks, Alex
>;
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>;
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.138 / Virus Database: 270.4.7/1543 - Release Date: 09/07/2008 18:32
>
>
>
>;

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )