Bastien Koert
On 2013-03-11, at 10:50 PM, Karl DeSaulniers k...@designdrumm.com wrote:
On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote:
On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers k...@designdrumm.com
wrote:
On Mar 10, 2013, at 6:03 AM, richard gray wrote:
On 10/03/2013
On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers k...@designdrumm.com 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.
On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote:
On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers k...@designdrumm.com
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
On Mar 11, 2013, at 8:22 AM, Bastien Koert wrote:
On Sun, Mar 10, 2013 at 6:28 PM, Karl DeSaulniers k...@designdrumm.com
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
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 -
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
Phillip Baker phil...@freewolf.net 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
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
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
On 15 September 2011 21:20, Matthew Pounsett m...@conundrum.com wrote:
Anyone have any thoughts on what to look at?
php -m
look for XML
php --rf xml_parser_create
look for
Function [ internal:xml function xml_parser_create ] {
- Parameters [1] {
Parameter #0 [ optional $encoding ]
}
On 2011/09/16, at 10:27, Richard Quadling wrote:
On 15 September 2011 21:20, Matthew Pounsett m...@conundrum.com 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
On 16 September 2011 23:18, Matthew Pounsett m...@conundrum.com wrote:
On 2011/09/16, at 10:27, Richard Quadling wrote:
On 15 September 2011 21:20, Matthew Pounsett m...@conundrum.com wrote:
Anyone have any thoughts on what to look at?
php -m
php --rf xml_parser_create
Thanks. This
On Thu, Sep 15, 2011 at 3:20 PM, Matthew Pounsett m...@conundrum.com wrote:
echo ? print xml_parser_create(''); ? | 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:
On Tue, Jul 5, 2011 at 4:36 PM, Kanishka kanishkani...@gmail.com 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..
*note
head
titlethe the
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 6:43 PM, Tamara Temple tamouse.li...@gmail.comwrote:
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
On Jul 5, 2011, at 12:48 PM, Stuart Dallas wrote:
On Tue, Jul 5, 2011 at 6:43 PM, Tamara Temple
tamouse.li...@gmail.com 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
On Sun, Apr 17, 2011 at 11:34, Negin Nickparsa nickpa...@gmail.com 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
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:38, Negin Nickparsa nickpa...@gmail.com 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
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
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
On 3 April 2011 21:38, Peter Lind peter.e.l...@gmail.com wrote:
On 3 April 2011 22:35, Andre Polykanine an...@oire.org 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
Jason Pruim li...@pruimphotography.com 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
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
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,
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:
On 3 April 2011 21:41, Andre Polykanine an...@oire.org 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
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
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 reading
On 3 April 2011 22:35, Andre Polykanine an...@oire.org 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 ...
On Thu, Aug 26, 2010 at 2:54 AM, u...@domain.invalid 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
On Thu, Aug 26, 2010 at 3:10 AM, Sridhar Pandurangiah
sridharpa...@gmail.com 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.
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
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.php.net
On Sat, Aug 21, 2010 at 5:53 PM, Tom Shaw ts...@oitc.com 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
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 street2 /, which is producing a JS error when I try to call:
script type=text/javascript..
street2 =
On Tue, Jul 13, 2010 at 10:14 AM, ppps...@gmail.com ppps...@gmail.com wrote:
Hello. I have html:
h3Header/h3
pParagraph 1/p
pParagraph n/p
div
h3Header/h3
pParagraph 1/p
pParagraph n/p
/div
need to parse it like this array:
array(
[0] = array(
'h3' = 'header' ,
'p' =
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; WlmMSN: arthaelon @ yandex.ru;
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 from
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
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 -
[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
Can you show the generated XML?
Jonathan
On Thu, Oct 8, 2009 at 3:45 PM, Ashley Sheridan
a...@ashleysheridan.co.uk 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
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
a...@ashleysheridan.co.uk 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
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
a...@ashleysheridan.co.uk 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 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
a...@ashleysheridan.co.uk wrote:
Hi guys,
I've
On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croudm...@obviousdigital.com 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 image element below:
item Code=e1022
codee1022/code
image![CDATA[img
From: Bastien Koert
On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croudm...@obviousdigital.com 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 image element below:
item Code=e1022
codee1022/code
On 9 Sep 2009, at 14:26, Bastien Koert wrote:
On Wed, Sep 9, 2009 at 5:27 AM, Matthew
Croudm...@obviousdigital.com 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 image element below:
item Code=e1022
On Wed, Sep 9, 2009 at 9:33 AM, Matthew Croud m...@obviousdigital.com wrote:
On 9 Sep 2009, at 14:26, Bastien Koert wrote:
On Wed, Sep 9, 2009 at 5:27 AM, Matthew Croudm...@obviousdigital.com
wrote:
Hiya,
I'm writing an app that let's my client upload images, the image html
code
is added
On 9 Sep 2009, at 14:36, Bob McConnell wrote:
From: Bastien Koert
On Wed, Sep 9, 2009 at 5:27 AM, Matthew
Croudm...@obviousdigital.com 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 image element below:
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
Croudm...@obviousdigital.com wrote:
Hiya,
I'm writing an app that let's my client upload images, the image
html
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
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 9 Sep 2009, at
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 m...@obviousdigital.com wrote in message
news:2c4840c2-45db-4d6c-b5fa-2cb15b171...@obviousdigital.com...
On 9 Sep
give it a try with PDATA instead of CDATA and see what happns
Ashley Sheridan a...@ashleysheridan.co.uk 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
Andrew Williams wrote:
Best All,
How can you best and accurately extract XLM data to DB table. e.g.:
EXCHANGE_LIST AMOUNT=3
-
EXCHANGE
ID_EXCHANGE20/ID_EXCHANGE
CODE_EXCHANGEFRA/CODE_EXCHANGE
NAME_EXCHANGEFrankfurt/NAME_EXCHANGE
/EXCHANGE
-
EXCHANGE
ID_EXCHANGE28/ID_EXCHANGE
Andrew Williams wrote:
Best All,
How can you best and accurately extract XLM data to DB table. e.g.:
EXCHANGE_LIST AMOUNT=3
-
EXCHANGE
ID_EXCHANGE20/ID_EXCHANGE
CODE_EXCHANGEFRA/CODE_EXCHANGE
NAME_EXCHANGEFrankfurt/NAME_EXCHANGE
/EXCHANGE
-
EXCHANGE
ID_EXCHANGE28/ID_EXCHANGE
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.php
@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 p...@computer.org wrote:
Andrew Williams wrote:
Best All,
How can you
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
On Tue, Feb 24, 2009 at 9:51 AM, Merlin Morgenstern
merli...@fastmail.fm wrote:
Hi there,
I am trying to pars an XML file with php. This works if the xml tag looks
like this: anbieternr88/anbieternr
In that case I retrieve the info: $xml-anbieternr
But now the tag looks different like this:
On Tue, Feb 24, 2009 at 6:51 AM, Merlin Morgenstern
merli...@fastmail.fm 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.
Merlin Morgenstern wrote:
Hi there,
I am trying to pars an XML file with php. This works if the xml tag
looks like this: anbieternr88/anbieternr
In that case I retrieve the info: $xml-anbieternr
But now the tag looks different like this:
imo:anbieternr88/imo:anbieternr
The command
-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 data into
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:
xsl:for-each select=//elementA | //elementB
xsl:value-of select=name(.) /
/xsl:for-each
Hope this
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 regards,
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
^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
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
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 root
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
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 29th)
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
I apologize for the misunderstanding.
--
PHP General Mailing List (http://www.php.net/)
To
...
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.28view=co
You will need to replicate
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 a XML.
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
UTF-8,
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:
babling and code
--
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
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 for
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 been nice to
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
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
I have to use DOM, does
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
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:
Couldn't you also create
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
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
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,
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,
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
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
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?
Both
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
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 version=1.0 encoding=UTF-8?';
$xml .= 'request';
$xml .= 'emailAddress'.
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:
titlehello/title
titlehello2/title
titlehello3/title
are 3 different records in the XML File.
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
[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
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
scheme,
Although I am not able to give you any helping advice, I would like
to know if there are any PHP based XML online - editors out there
(that would allow me to edit XML files online so to say). One thing
that poped up in my mind was Tiny MCE. Sure, it could be possible to
customise Tiny MCE,
1 - 100 of 514 matches
Mail list logo