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
Hi Philip,
Tell them they can POST submissions to:
https://www.acme.com/xml-submission
Then tell them what fields are supported. Presumably you will support
the following POST fields as a minimum (as if they were on a form):
username
password
xml
Your handler should also pro
I was wondering how that would work and if it might be that simple.
How would I inform the client to hit the page (script)?
Blessed Be
Phillip
"In the Jim Crow South, for example, government failed and indeed refused
to protect blacks from extra-legal violence. Given our history, it's
stunning w
Phillip Baker wrote:
>Greetings all,
>
>I am looking for some options here.
>
>I am in need of creating a service on our web server that will always
>be
>available and automated.
>It will accept an XML file.
>
>I will be checking to see if the XML file is valid and then passing it
>on
>to anoth
On 16 September 2011 23:18, Matthew Pounsett wrote:
>
> On 2011/09/16, at 10:27, Richard Quadling wrote:
>
>> On 15 September 2011 21:20, Matthew Pounsett wrote:
>>> Anyone have any thoughts on what to look at?
>>
>> php -m
>> php --rf xml_parser_create
>
> Thanks. This seems to reinforce that t
On 2011/09/16, at 10:27, Richard Quadling wrote:
> On 15 September 2011 21:20, Matthew Pounsett wrote:
>> Anyone have any thoughts on what to look at?
>
> php -m
> php --rf xml_parser_create
Thanks. This seems to reinforce that there's something wrong, but I don't feel
like I know any more a
On 15 September 2011 21:20, Matthew Pounsett wrote:
> Anyone have any thoughts on what to look at?
php -m
look for XML
php --rf xml_parser_create
look for
Function [ function xml_parser_create ] {
- Parameters [1] {
Parameter #0 [ $encoding ]
}
}
--
Richard Quadling
Twitter : EE
On Thu, Sep 15, 2011 at 3:20 PM, Matthew Pounsett wrote:
>> echo "" | php
Not anything to do with the problem, but you can just write:
php -r "print xml_parser_create('');"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Jul 5, 2011, at 12:48 PM, Stuart Dallas wrote:
On Tue, Jul 5, 2011 at 6:43 PM, Tamara Temple
wrote:
On Jul 5, 2011, at 10:47 AM, Stuart Dallas wrote:
$arr[] = array('name' => (string)$book->name, 'author' =>
(string)$book->author);
}
Interesting -- is the casting to string type necess
On Tue, Jul 5, 2011 at 6:43 PM, Tamara Temple wrote:
>
> On Jul 5, 2011, at 10:47 AM, Stuart Dallas wrote:
>
>
>> $arr[] = array('name' => (string)$book->name, 'author' =>
>> (string)$book->author);
>> }
>>
>
> Interesting -- is the casting to string type necessary there? I haven't
> done that bef
On Jul 5, 2011, at 10:47 AM, Stuart Dallas wrote:
$arr[] = array('name' => (string)$book->name, 'author' =>
(string)$book->author);
}
Interesting -- is the casting to string type necessary there? I
haven't done that before, and it seems to have worked ok...
--
PHP General Mailing List (
On Tue, Jul 5, 2011 at 4:36 PM, Kanishka wrote:
> hi this is my first post on php general mailing list, i want to read a xml
> file to retrieve data. i tried by using "DOM" and "simple xml" but i
> couldn't.
> the xml file looks like this..
>
> *
>
> the the title
> 7-6-2011
At 8:21 PM +0430 4/17/11, Negin Nickparsa wrote:
i didn't want to be smart or funny cause i'm not
i just told my Idea
and i didn't want to bother list or Daniel
pardon me Daniel,for my bad behave if u think that was bad
ok i'll go
That's probably a good thing for all.
On your next Mailing Lis
i didn't want to be smart or funny cause i'm not
i just told my Idea
and i didn't want to bother list or Daniel
pardon me Daniel,for my bad behave if u think that was bad
ok i'll go
On Sun, Apr 17, 2011 at 11:38, Negin Nickparsa wrote:
> php coders know about XML maybe u don't know but someone will reply me u'll
> see
What I see is someone who doesn't know how to help himself, who
thinks he's either smart or funny in his reply, and who has failed
miserably.
I repeat
php coders know about XML maybe u don't know but someone will reply me u'll
see
On Sun, Apr 17, 2011 at 11:34, Negin Nickparsa wrote:
> i coded a smart home it has two jframes in java netbeans
> it works correctly when i run the server and then when i run client
> the devices such as radio,fan,...
> i turn them on/off
> but i want to store the changes when i run the server fo
On 3 April 2011 21:38, Peter Lind wrote:
> On 3 April 2011 22:35, Andre Polykanine wrote:
>> Hello Peter,
>>
>> Thanks a lot! And is there a way to set (write) custom values in files
>> other than php.ini? Sorry, didn't find such a function.
>>
>
> I haven't come across any, but then again, I hav
On 3 April 2011 22:35, Andre Polykanine wrote:
> Hello Peter,
>
> Thanks a lot! And is there a way to set (write) custom values in files
> other than php.ini? Sorry, didn't find such a function.
>
I haven't come across any, but then again, I haven't had the need so
never looked much ... It would
nsule
Facebook: http://facebook.com/menelion
Original message
From: Peter Lind
To: Andre Polykanine
Date created: , 10:44:31 PM
Subject: [PHP] Re: Config files: what is best? (was: Re: [PHP] XML... Useful or
another layer of complexity?)
On 3 April 2011 21:41,
On Apr 3, 2011, at 3:31 PM, mrfroasty wrote:
> On 04/03/2011 08:41 PM, Jason Pruim wrote:
>>
>> So the subject says it all... And yes I know this isn't related to PHP but
>> it's the weekend and I trust the opinions on this list more then any other
>> list I have seen. I've been doing alot of
El 03-04-11 14:41, Jason Pruim escribió:
So the subject says it all... And yes I know this isn't related to PHP but it's
the weekend and I trust the opinions on this list more then any other list I
have seen. I've been doing alot of reading on XML and honestly it looks pretty
cool... BUT the q
On 3 April 2011 21:41, Andre Polykanine wrote:
> Hello Peter,
>
> Just because you mentioned config files.
> What would you suggest me as better format for them? Database is not
> available yet since I need to make a config file before creating a
> database.
For config files I would suggest
Hello Peter,
Just because you mentioned config files.
What would you suggest me as better format for them? Database is not
available yet since I need to make a config file before creating a
database.
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menel
Like every other technology, XML needs to have a use before it becomes
a useful tool. Just using XML because it's available quickly leads to
headaches, as it isn't the best tool for all scenarios (config files
written in XML for instance). That said, XML is awesome for a lot of
things ... however,
Jason Pruim wrote:
> So the subject says it all... And yes I know this isn't related to PHP
> but it's the weekend and I trust the opinions on this list more then
> any other list I have seen. I've been doing alot of reading on XML and
> honestly it looks pretty cool... BUT the question is... Is i
"Jason Pruim" wrote:
>So the subject says it all... And yes I know this isn't related to PHP
>but it's the weekend and I trust the opinions on this list more then
>any other list I have seen. I've been doing alot of reading on XML and
>honestly it looks pretty cool... BUT the question is... Is it
; that the user
clicked. Should I display the directory listing as a form?
Best regards
Sridhar
Original Message
Subject: Re: [PHP] XML with PHP
From: mike...@gmail.com (Michael Shadle)
To:
Date: Thu Aug 26 2010 15:32:13 GMT+0530 (IST)
--
PHP General Mailing List (http://www.ph
Hi
I guess my post was misunderstood. I was just trying to figure out if
there is a better way other than displaying a form. That's the reason I
posted my php snippet in my first post.
Thanks for the help.
Best regards
Sridhar
Original Message
Subject: Re: [PHP] XML
On Thu, Aug 26, 2010 at 3:10 AM, Sridhar Pandurangiah
wrote:
> Mike
>
> Thanks a ton for the quick response. I have updated the mail id on my email
> client (using Mozilla TB) and I did repost but your reply was quicker!
>
> Will try this out and post the results on this thread. Just waiting for
>
On Thu, Aug 26, 2010 at 2:54 AM, wrote:
> Hi
>
> I am trying to read XML files (invoices) from a directory and display them
> to the visitor. Each XML file contains several invoices. The visitor then
> clicks on the XML file (invoices). My PHP snippet should open the xml file
> and locate the app
On Sat, Aug 21, 2010 at 5:53 PM, Tom Shaw wrote:
> I am trying to decode and encode nws compatible cap xml. An example is at
> the bottom of this post. simplexml_load_file works fine if "cap:" is removed
> before processing. However, if it is not simplexml_load_file does not parse
> the file at a
On 21 Jul 2010, at 19:32, Ben Miller wrote:
> Problem:
>
> If street2 (or any other field) has no value, PHP is outputting the XML node
> as , which is producing a JS error when I try to call:
>
> ..
>
> street2 = x[i].getElementsByTagName("street2")[0].childNodes[0].nodeValue;
>
>
On Tue, Jul 13, 2010 at 10:14 AM, ppps...@gmail.com wrote:
> Hello. I have html:
> Header
> Paragraph 1
>
> Paragraph n
>
>
> Header
> Paragraph 1
>
> Paragraph n
>
>
> need to parse it like this array:
> array(
> [0] => array(
> 'h3' => 'header' ,
> 'p' => array(
> [0] => 'Paragrap
Andre Polykanine wrote:
Hello Ahmad and all,
I will expand a little bit your question joining to it: what is
the better technique to make an RSS feed on the website? The
website is manually written, no CMS.
I wrote a class to do it -
http://www.phpclasses.org/browse/package/
Ahmad F AlTwaijiry wrote:
Dears
When i checked the php manual i found many Solutions to read/write xml
files and im confused now :)
Which function/library is better and is there any new article that
compare each function/library?
I use DOMDocument.
It works best if the input file you are r
On Sat, 2010-03-06 at 21:50 +0200, Andre Polykanine wrote:
> Hello Ahmad and all,
>
> I will expand a little bit your question joining to it: what is
> the better technique to make an RSS feed on the website? The
> website is manually written, no CMS.
> --
> With best regards f
Hello Ahmad and all,
I will expand a little bit your question joining to it: what is
the better technique to make an RSS feed on the website? The
website is manually written, no CMS.
--
With best regards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jab
[snip] I need to transform some XML files and have not really done much
XSLT. I am looking for recommendations on ways to parse XML via
PHP. The XML files I have contain the content from our website CMS.
We are switching from a proprietary CMS to Drupal and I need to
transform the XML int
On Thu, 2009-10-08 at 12:50 -0700, Jim Lucas wrote:
> Ashley Sheridan wrote:
> > On Thu, 2009-10-08 at 15:54 -0300, Jonathan Tapicer wrote:
> >
> >> Can you show the generated XML?
> >>
> >> Jonathan
> >>
> >> On Thu, Oct 8, 2009 at 3:45 PM, Ashley Sheridan
> >> wrote:
> >>> Hi guys,
> >>>
> >>>
Ashley Sheridan wrote:
> On Thu, 2009-10-08 at 15:54 -0300, Jonathan Tapicer wrote:
>
>> Can you show the generated XML?
>>
>> Jonathan
>>
>> On Thu, Oct 8, 2009 at 3:45 PM, Ashley Sheridan
>> wrote:
>>> Hi guys,
>>>
>>> I've knocked up a quick RSS feed on my site. It works fine in Fx 2 & 3,
>>>
On Thu, 2009-10-08 at 15:54 -0300, Jonathan Tapicer wrote:
> Can you show the generated XML?
>
> Jonathan
>
> On Thu, Oct 8, 2009 at 3:45 PM, Ashley Sheridan
> wrote:
> > Hi guys,
> >
> > I've knocked up a quick RSS feed on my site. It works fine in Fx 2 & 3,
> > in Opera it throws an error "un
Can you show the generated XML?
Jonathan
On Thu, Oct 8, 2009 at 3:45 PM, Ashley Sheridan
wrote:
> Hi guys,
>
> I've knocked up a quick RSS feed on my site. It works fine in Fx 2 & 3,
> in Opera it throws an error "unexpected end of file" but allows the feed
> to be added anyway, and Chrome just
give it a try with PDATA instead of CDATA and see what happns
"Ashley Sheridan" wrote in message
news:1252512252.2961.40.ca...@localhost...
> On Wed, 2009-09-09 at 16:51 +0100, Matthew Croud wrote:
> > On 9 Sep 2009, at 16:37, Ashley Sheridan wrote:
> >
> > > On Wed, 2009-09-09 at 15:14 +0100, M
You need to look at "disable_output_escaping" at
http://www.w3.org/TR/xslt#disable-output-escaping
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Matthew Croud" wrote in message
news:2c4840c2-45db-4d6c-b5fa-2cb15b171...@obviousdigital.com...
>
> On 9 Sep 2009, at 14:26, B
On Wed, 2009-09-09 at 16:51 +0100, Matthew Croud wrote:
> On 9 Sep 2009, at 16:37, Ashley Sheridan wrote:
>
> > On Wed, 2009-09-09 at 15:14 +0100, Matthew Croud wrote:
> >> On 9 Sep 2009, at 15:09, Ashley Sheridan wrote:
> >>
> >>> On Wed, 2009-09-09 at 14:46 +0100, Matthew Croud wrote:
> On
On 9 Sep 2009, at 16:37, Ashley Sheridan wrote:
On Wed, 2009-09-09 at 15:14 +0100, Matthew Croud wrote:
On 9 Sep 2009, at 15:09, Ashley Sheridan wrote:
On Wed, 2009-09-09 at 14:46 +0100, Matthew Croud wrote:
On 9 Sep 2009, at 14:36, Bob McConnell wrote:
From: Bastien Koert
On Wed, Sep 9,
On Wed, 2009-09-09 at 14:46 +0100, Matthew Croud wrote:
> On 9 Sep 2009, at 14:36, Bob McConnell wrote:
>
> > From: Bastien Koert
> >> On Wed, Sep 9, 2009 at 5:27 AM, Matthew
> >> Croud wrote:
> >>>
> >>> Hiya,
> >>> I'm writing an app that let's my client upload images, the image
> >>> html c
On 9 Sep 2009, at 14:36, Bob McConnell wrote:
From: Bastien Koert
On Wed, Sep 9, 2009 at 5:27 AM, Matthew
Croud wrote:
Hiya,
I'm writing an app that let's my client upload images, the image
html code
is added to an XML file.
Take a look at the element below:
e1022
Blue Ski T
On Wed, Sep 9, 2009 at 9:33 AM, Matthew Croud wrote:
>
> On 9 Sep 2009, at 14:26, Bastien Koert wrote:
>
>> On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud
>> wrote:
>>>
>>> Hiya,
>>> I'm writing an app that let's my client upload images, the image html
>>> code
>>> is added to an XML file.
>>> Take
On 9 Sep 2009, at 14:26, Bastien Koert wrote:
On Wed, Sep 9, 2009 at 5:27 AM, Matthew
Croud wrote:
Hiya,
I'm writing an app that let's my client upload images, the image
html code
is added to an XML file.
Take a look at the element below:
e1022
Blue Ski Trousers
8.99
No
From: Bastien Koert
> On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud wrote:
>>
>> Hiya,
>> I'm writing an app that let's my client upload images, the image html code
>> is added to an XML file.
>> Take a look at the element below:
>>
>>
>> e1022
>>
>> Blue Ski Trousers
>> 8.99
>>
>>
On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croud wrote:
>
> Hiya,
> I'm writing an app that let's my client upload images, the image html code
> is added to an XML file.
> Take a look at the element below:
>
>
> e1022
>
> Blue Ski Trousers
> 8.99
>
>
> Now, whenever PHP writes this to
Igor Escobar wrote:
> @Jessen I read your answer and... You have any article speaking about
> that you are saying?
>
Hi Igor
I don't have anything handy, but there's plenty of good material on the
internet about XSLT. The main point is - XSLT is just reformatting the
data from XML format to a
@Jessen I read your answer and... You have any article speaking about that
you are saying?
Regards,
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Thu, Apr 2, 2009 at 8:38 AM, Per Jessen wrote:
> Andrew Williams wrote:
>
> > Best All,
> >
> > How can you best and
Andrew Williams wrote:
> Best All,
>
> How can you best and accurately extract XLM data to DB table. e.g.:
>
Use XSLT to generate SQL INSERT statements.
/Per
--
Per Jessen, Zürich (11.3°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Andrew Williams wrote:
> Best All,
>
> How can you best and accurately extract XLM data to DB table. e.g.:
>
>
> -
>
> 20
> FRA
> Frankfurt
>
> -
>
> 28
> LSE
> London Stock Exchange
>
> -
>
> 226
> GER
> Xetra
>
>
>
> www.willandy.co.uk
>
Oh, I thought of another one:
Write some XSL
Andrew Williams wrote:
> Best All,
>
> How can you best and accurately extract XLM data to DB table. e.g.:
>
>
> -
>
> 20
> FRA
> Frankfurt
>
> -
>
> 28
> LSE
> London Stock Exchange
>
> -
>
> 226
> GER
> Xetra
>
>
>
> www.willandy.co.uk
>
Write some code to read the XML file. (you c
Merlin Morgenstern wrote:
> Hi there,
>
> I am trying to pars an XML file with php. This works if the xml tag
> looks like this: 88
> In that case I retrieve the info: $xml->anbieternr
>
> But now the tag looks different like this:
> 88
>
> The command $xml->imo:anbieternr does not work in that
On Tue, Feb 24, 2009 at 6:51 AM, Merlin Morgenstern
wrote:
> The command $xml->imo:anbieternr does not work in that case.
>
> Has somebody an idea how to adress this?
you could cheat and string replace the node prefix in the document
imo: to imo_ and then you can use simplexml. it's an ugly hac
On Tue, Feb 24, 2009 at 9:51 AM, Merlin Morgenstern
wrote:
> Hi there,
>
> I am trying to pars an XML file with php. This works if the xml tag looks
> like this: 88
> In that case I retrieve the info: $xml->anbieternr
>
> But now the tag looks different like this:
> 88
>
> The command $xml->imo:an
Thanks a lot. Sorry but 5 minutes after sending this email i figured it out
myself. I didn't know how to answer my own message because i didn't get my
own message... Anyway, this worked for me:
Hope this helps someone else...
Thanks again.
Tim
Tim-Hinnerk Heuer
http://www.ihostnz.com
Bil
> -Original Message-
> From: th.he...@gmail.com [mailto:th.he...@gmail.com] On Behalf Of
> German Geek
> Sent: Friday, February 20, 2009 9:18 AM
> To: PHP General list
> Subject: [PHP] XML -> XSLT transformation using XSLTProcessor class
>
> Hi All,
>
> We are trying to import some xml da
^THANX: Will upgrade to php5.
c...@l-i-e.com wrote:
XML in PHP4? Don't. :-)
It was very painful and with all kinds of quirks, from my limited experience.
PHP5 was a breeze.
Consider hosting a quick/easy service on a PHP5 box to convert XML to PHP
serialized data or something as well. Could
XML in PHP4? Don't. :-)
It was very painful and with all kinds of quirks, from my limited experience.
PHP5 was a breeze.
Consider hosting a quick/easy service on a PHP5 box to convert XML to PHP
serialized data or something as well. Could be less painful.
Or just upgrade, since PHP4
Merlin Morgenstern wrote:
> Hi there,
>
> I need pars an xml file with php 4. There seems to be a good package out
> there "active link xml". However, last development was 2004. Is there
> something new around which you would recommend over active link?
>
> Thank you for any hints.
>
> Best rega
Stephen Alistoun wrote:
Hello all,
Need help to get the value of the node.
We know how to get the value of the city , item and itemPrice nodes below.
How do we get the value of NumberOfRooms?
$hotelElements = $xpath->query( '', $searchReponseElement );
>>> htdocs <-- This the document root of your website pear + HTML +
>>> Mail
>>> + Net
>
>That's not what I wrote:
>
>htdocs <-- This the document root of your website pear + HTML + Mail
> + Net
I apologize for the misunderstanding.
--
PHP General Mailing List (http://www.php.n
> I apologize for the misunderstanding.
That's OK, I forgive you my child. :-)
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated November 29th)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>> htdocs <-- This the document root of your website pear + HTML + Mail
>> + Net
That's not what I wrote:
htdocs <-- This the document root of your website
pear
+ HTML
+ Mail
+ Net
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated November 29
> htdocs <-- This the document root of your website pear + HTML + Mail
> + Net
If you're going to set your include path properly, you might as well not put
PEAR in htdocs, since none of those files are front-facing URLs that should be
visited by an end user.
They belong in a non web roo
> What do you mean by replicating the directory structure?
PEAR has a directory structure. Duplicate it and set you include_path
accordingly. Have a look at the application structure on article my
website ( http://www.phpguru.org ) - it may be of some help.
Eg:
htdocs <-- This the document root
> ...
You might be interested to know that with PEAR there is absolutely no
need to use the installer at all. You may find it easier not to. For
example the file you mentioned (XML_RSS) is here:
http://cvs.php.net/viewvc.cgi/pear/XML_RSS/RSS.php?revision=1.28&view=co
You will need to replicate t
On Tue, Jul 29, 2008 at 4:59 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 29, 2008 at 3:52 PM, Thiago H. Pojda <[EMAIL PROTECTED]>
> wrote:
> > That's weird. I just changed it to convert everything to UTF and things
> > appear ok on IE and messy in Firefox. I guess firefox isn't bee
On Tue, Jul 29, 2008 at 3:52 PM, Thiago H. Pojda <[EMAIL PROTECTED]> wrote:
> That's weird. I just changed it to convert everything to UTF and things
> appear ok on IE and messy in Firefox. I guess firefox isn't been nice to my
> headers after all. It keeps saying the content is in ISO.
>
> Thanks
On Tue, Jul 29, 2008 at 4:20 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 29, 2008 at 2:33 PM, Thiago H. Pojda <[EMAIL PROTECTED]>
> wrote:
>
> > --
> > Thiago Henrique Pojda
> >
>
> Are you sure the accented characters you are using are part of
> ISO-8859-1 and not UTF-8? I don't
you should want it to be utf-8 anyway.
On 7/29/08, Thiago H. Pojda <[EMAIL PROTECTED]> wrote:
> Guys,
>
> I'm building a XML in a PHP Script. Everything works fine until I add
> accented (ISO-8859-1) characters into it.
>
> As far as I can see, there's no way to change DOMDocument's encoding from
On Tue, Jul 29, 2008 at 2:33 PM, Thiago H. Pojda <[EMAIL PROTECTED]> wrote:
> Okay,
>
> After much iconv, headers and "workarounds" I figured I can't use
> DOMDocument for XMLs when under ISO-8859-1 encoding without messing accented
> chars.
>
> The idea is simple: get a query result and turn into
st various situations to get a feel for how
often you might run into file conflicts...
-Original Message-
From: Iv Ray [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 7:45 AM
To: bruce
Cc: 'Kaja'; php-general@lists.php.net
Subject: Re: [PHP] XML file locking
bruce wrote:
> Cou
bruce wrote:
Couldn't you also create a rather simple test to determine if the locking of
the file takes place?
I personally do not trust file system level locks. Even if a software is
not intended to be portable across operating systems, it is possible to
use different file systems under th
p.net
Subject: Re: [PHP] XML file locking
Kaja wrote:
> Does anyone know if any of the PHP 5 XML libraries use flock() internally?
> I'd like to use XMLReader and XMLWriter but I need to make sure theres no
> writing going on while reading and no more than one writer at time. And if
Kaja wrote:
Does anyone know if any of the PHP 5 XML libraries use flock() internally?
I'd like to use XMLReader and XMLWriter but I need to make sure theres no
writing going on while reading and no more than one writer at time. And if
I have to use DOM, does DOM lock the file when it calls sa
The last comment on http://php.net/manual/en/function.simplexml-load-string.php
is what you need:
simplexml_load_string($xmlstring, 'SimpleXMLElement', LIBXML_NOCDATA);
Brady
On May 9, 2008, at 1250PM, Chris W wrote:
I have an xml file with a cdata element like the one below. How
would I
Larry Brown wrote:
It is not that I want to generate the document in UTF-8. I just need to
specify the correct encoding. My assumption that it was UTF-8 based on
what my command line settings are is obviously incorrect. How can I
tell what php is encoding in by default?
Larry
On Fri, 2008-02
It is not that I want to generate the document in UTF-8. I just need to
specify the correct encoding. My assumption that it was UTF-8 based on
what my command line settings are is obviously incorrect. How can I
tell what php is encoding in by default?
Larry
On Fri, 2008-02-22 at 17:20 +0100, B
encoding="UTF-8" doesn't guarantee that XML is encoded in UTF-8 its
only purpose is to tell XML parser how to decode that XML document .
it is responsibility of document creator to ensure that XML is proper
UTF-8 document .
on PHP side when creating XML there are number of functions to ensu
Naz Gassiep wrote:
Eric Butera wrote:
On 1/12/08, Naz Gassiep <[EMAIL PROTECTED]> wrote:
I'm using simplexml to fetch data from a set of data files. If I have
two files, and one is an update to the other, is there an easy way to
merge the two files together, rather than having write logic th
Eric Butera wrote:
On 1/12/08, Naz Gassiep <[EMAIL PROTECTED]> wrote:
I'm using simplexml to fetch data from a set of data files. If I have
two files, and one is an update to the other, is there an easy way to
merge the two files together, rather than having write logic that checks
one and t
At 12:10 PM -0500 1/12/08, Eric Butera wrote:
On 1/12/08, Naz Gassiep <[EMAIL PROTECTED]> wrote:
I'm using simplexml to fetch data from a set of data files. If I have
two files, and one is an update to the other, is there an easy way to
merge the two files together, rather than having write l
On 1/12/08, Naz Gassiep <[EMAIL PROTECTED]> wrote:
> I'm using simplexml to fetch data from a set of data files. If I have
> two files, and one is an update to the other, is there an easy way to
> merge the two files together, rather than having write logic that checks
> one and then the other?
>
>
2007. 12. 21, péntek keltezéssel 10.12-kor VamVan ezt írta:
> Hi All,
>
> Happy Christmas!!!
>
> Please see the code below:
>
>
> $xml = "";
> $xml = '';
> $xml .= '';
> $xml .= ''.
> $this->xmlValueEncoding($post['Email']) .'';
> $xm
On Dec 17, 2007 10:44 PM, VamVan <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I receive an output as an XML File. Please provide some scripts that I
> can use for extraction of the values.
>
> For Example:
> hello
>
> hello2
>
> hello3
>
> are 3 different records in the XML File. How can I retrieve
Sam Baker wrote:
> I'm looking for a php script that will read any xml file, display the
> contents in html, with the option of adding an entry (in the same
> scheme, whatever that might be) or deleting existing entries.
>
> I think I could write this, but it would take a while.
Use the XSLT ext
On Mon, August 27, 2007 12:41 pm, Sam Baker wrote:
> So I don't have to reinvent anything, does such a thing exist anywhere
> that
> anyone knows of:
>
> I'm looking for a php script that will read any xml file, display the
> contents in html, with the option of adding an entry (in the same
> schem
[snip]
So I don't have to reinvent anything, does such a thing exist anywhere
that
anyone knows of:
I'm looking for a php script that will read any xml file, display the
contents in html, with the option of adding an entry (in the same
scheme,
whatever that might be) or deleting existing entries.
1 - 100 of 511 matches
Mail list logo