No, it's not an older method. There is no absolute definition of
when to use
elements versus attributes. There are, however, some attempts at
defining
general principles:
http://www.ibm.com/developerworks/xml/library/x-eleatt.html
Thanks for the link and the code example, Mark. I certainly le
No, it's not an older method. There is no absolute definition of
when to use
elements versus attributes. There are, however, some attempts at
defining
general principles:
http://www.ibm.com/developerworks/xml/library/x-eleatt.html
Thanks for the link and the code example, Mark. I certainly le
Hi David:
>
>
>
>
>
>
That's not well-formed (valid) because there should be a closing
tag at the end.
> I was expecting each attribute and node to have it's own <> and >, and
> the data not to be surround by double-quotes or am I missing
something?
As others have mentioned, XML has
Here you are facing an issue between readability/ease of retrieval and
space needed to store. I think that the idea of using a string of 0's
and 1's in one field is interesting & useful, and is readable enough so
that if something is awry you'd be able to find it fast. Some string-
handling func
Hi David:
>
>
>
>
>
>
That's not well-formed (valid) because there should be a closing
tag at the end.
> I was expecting each attribute and node to have it's own <> and , and
> the data not to be surround by double-quotes or am I missing something?
As others have mentioned, XML has "el
Matt Williams wrote:
So if the above is valid XML, is there a specific name for this approach?
Is there a benefit for doing it this way instead of nested nodes? Might this be
considered older method?
No, it's not an older method. There is no absolute definition of when to
use elements ve
> Kristina,
>
> While we're on this subject, I thought I would ask another pending
> question I have related to this.
>
> I need to store a bunch (and by a bunch, I mean about 30-40) binary
> true/false values in my database.
>
> In the past, I would do something like this:
>
> CREATE TABLE..
On Fri, Sep 18, 2009 at 23:45, David Roth wrote:
I've been using simplexml to parse XML and so far the XML I've had to deal
> with has been pretty straight forward. Then I run across this XML which I
> don't know what to call it or how it should be handled properly.
There are different ways to
David Roth wrote:
>
>
>
>
>
>
>
> I was expecting each attribute and node to have it's own <> and >, and
> the data not to be surround by double-quotes or am I missing
something?
XML attributes must be quoted, but you can use either double or single
quotes. If there's nothing between the
David Mintz wrote:
I have been using Dreamhost because it's cheap and provides what I need
and has a really weird and funny newsletter.
with the emphasis on weird ;-)
However, if you need a custom php.ini, the instructions are found at
http://www.wiki.dreamhost.com/index.php/PHP.ini with a
HI,
Have you tried closing tag ?
it seems not to be closed.
Alex
On Sat, Sep 19, 2009 at 12:42 PM, li...@nopersonal.info
wrote:
> David Roth wrote:
>
>>
>>
>>
>>
>>
>>
>>
>> I was expecting each attribute and node to have it's own <> and , and
>> the data not to be surround by double-quote
Kristina,
While we're on this subject, I thought I would ask another pending
question I have related to this.
I need to store a bunch (and by a bunch, I mean about 30-40) binary
true/false values in my database.
In the past, I would do something like this:
CREATE TABLE... (
David Roth wrote:
>
>
>
>
>
>
>
> I was expecting each attribute and node to have it's own <> and , and
> the data not to be surround by double-quotes or am I missing something?
XML attributes must be quoted, but you can use either double or single
quotes. If there's nothing between the op
I have been using Dreamhost because it's cheap and provides what I need and
has a really weird and funny newsletter.
However, if you need a custom php.ini, the instructions are found at
http://www.wiki.dreamhost.com/index.php/PHP.ini with a great big disclamer
to the effect that if it suddenly bre
David Roth wrote:
I've been using simplexml to parse XML and so far the XML I've had to
deal with has been pretty straight forward. Then I run across this XML
which I don't know what to call it or how it should be handled properly.
Here is a fragment of what I'm talking about:
I was ex
15 matches
Mail list logo