Bastien Koert
On 2013-03-11, at 10:50 PM, Karl DeSaulniers wrote:
>
> On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote:
>
>> On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers
>> wrote:
>>>
>>> On Mar 10, 2013, at 6:03 AM, richard gray wrote:
>>>
On 10/03/2013 11:47, Karl DeSaulniers
On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote:
On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers > wrote:
On Mar 10, 2013, at 6:03 AM, richard gray wrote:
On 10/03/2013 11:47, Karl DeSaulniers wrote:
Hi Guys,
I am hoping someone can guide me or help me fix this issue.
I have been lost i
On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote:
On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers > wrote:
On Mar 10, 2013, at 6:03 AM, richard gray wrote:
On 10/03/2013 11:47, Karl DeSaulniers wrote:
Hi Guys,
I am hoping someone can guide me or help me fix this issue.
I have been lost i
On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers wrote:
>
> On Mar 10, 2013, at 6:03 AM, richard gray wrote:
>
>> On 10/03/2013 11:47, Karl DeSaulniers wrote:
>>>
>>> Hi Guys,
>>> I am hoping someone can guide me or help me fix this issue.
>>> I have been lost in the code for some time now.
>>> I
On Mar 10, 2013, at 6:03 AM, richard gray wrote:
On 10/03/2013 11:47, Karl DeSaulniers wrote:
Hi Guys,
I am hoping someone can guide me or help me fix this issue.
I have been lost in the code for some time now.
I am trying to get the attributes of an xml node.
I have this code:
[snip]
this ma
On 10/03/2013 11:47, Karl DeSaulniers wrote:
Hi Guys,
I am hoping someone can guide me or help me fix this issue.
I have been lost in the code for some time now.
I am trying to get the attributes of an xml node.
I have this code:
[snip]
this may help ->
http://stackoverflow.com/questions/1156957
On Sun, 2006-02-05 at 06:32, Tod Thomas wrote:
> Just a quick shot it the dark...
>
> http://www.w3.org/TR/REC-xml/#NT-Name
>
> Go up about a half page to this:
>
> "[Definition: A Name is a token beginning with a letter or one of a few
> punctuation characters, and continuing with letters, dig
Brian V Bonini wrote:
On Fri, 2006-02-03 at 16:23, Richard Lynch wrote:
I've got my money on the XML spec REQUIRING an alphabetic start to
tagnames, and subsequent characters can be alphanumeric...
In other words, it doesn't work because <0> is not a valid XML tag.
Yeah, that was my instin
On Fri, 2006-02-03 at 16:23, Richard Lynch wrote:
> I've got my money on the XML spec REQUIRING an alphabetic start to
> tagnames, and subsequent characters can be alphanumeric...
>
> In other words, it doesn't work because <0> is not a valid XML tag.
Yeah, that was my instinct too... Just could
I've got my money on the XML spec REQUIRING an alphabetic start to
tagnames, and subsequent characters can be alphanumeric...
In other words, it doesn't work because <0> is not a valid XML tag.
You'll have to find and read the XML spec to be 100% certain.
http://info.com/XML+specification
If I'm
Joe
Shmoe
foo
bar
<0>DNR
<1>OPT
<2>FOO
<3>BAR
<4>CWS
<5>AVS
72
96Kg
0
etc...
$xml_data = $xml;
$parser = xml_parser_create();
xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 0);
xml_parse_into_struct($parser, $xml_data,
Here is a piece of code, that is close to doing what I want it to.
The end result I would like to have is an array that is simple to work with.
If the XML tag was RED HAT, I would like something
like the following:
$Tags['issue-name']. So I could print it out. Something like, print
"$Tags['issue-
I think it's important to mention that my problem is not with XML, but
with my use of arrays. I have tested the variable content that comes
back with XML and the data is coming through. My problem is I am not
doing something right to make the data into an array...
> heey,
>
> i'm currentl
heey,
i'm currently facing the same problem as you.
i was thinking of using either xml_parse_into_struct or using
a class i found phpxml.class at http://www.phpxml.org
let me know how you did it, i'm very intrested
Serge "Zeddicus Zu'l Zorandre" Vleugels
-- freedom is the wizard's only choice
Hello,
I'm new to using XML with PHP, but I think I've got it figured out for
the most part. I have created a class that reads in an XML file and
returns the data it finds to an array, but I'm running into a problem
because the array keeps coming back empty. Would you mind taking a
moment t
15 matches
Mail list logo