Re: [php-objects] XML AND PHP -> Database to XML?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- plumber <almisr@yahoo.fr> wrote:
[...snip...]
> On mercredi, jan 15, 2003, at 10:31 Europe/Paris, plumber wrote:
> 
> > ####################################################################### 
> > #
> > please learn xml first it doesn't work like this
> >
> > a xml file is just a multi array
> >
> > node[0][1][6]

Huh? a multi-array, where did you get that narrow idea of what an XML document
can be? Are you implying that xml such as the one below is invalid, just
because en element contains more than one same-named sub-element? If so, could
you point where in the XML specs from the W3C such an assertion is made?

<article>
<title>Example</title>
<para>
 Some paragraph
</para>
<para>
 Another paragraph
</para>
</article>

The example from the original person asking is valid XML, the trick is to put
that info into a relational database. XML and relational databases do not have
the same implicit data (or even data structure or relation) representations,
they can be made compatible easilly or with difficulty, depending on the
structure of the XML document and/or the constrains of the SQL schema.

Perhaps, you too should look at the URLs you pointed out in your message (which
I have cippled from this msg so it will not be too long).

Cheers.


=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)

Research:
 http://metallo.scripps.edu/
Personal: http://www.castagnetto.org/

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Flexible Keyboard is the ideal accessory for PDA users that are on the move.
http://us.click.yahoo.com/dCBVZC/WnCFAA/sXBHAA/saFolB/TM
---------------------------------------------------------------------~->

Look here for Free PHP Classes of objects:
http://phpclasses.UpperDesign.com/
To unsubscribe from this group, send an email to:
php-objects-unsubscribe@egroups.com

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux