On Tue, 2004-11-16 at 09:01 -0600, Jay Blanchard wrote:
[snip]
xml_parser_set_option($this-parser, XML_OPTION_CASE_FOLDING, 0);
xml_parser_set_option($this-parser, XML_OPTION_SKIP_WHITE, 1);
[/snip]
I had those in there as well...here is the first few liners of the XML
source
?xml
On Tue, 2004-11-16 at 09:50 -0600, Jay Blanchard wrote:
[snip]
?xml version=1.0 encoding=ISO-8859-1?
[/snip]
using fread the above line comae out like this(even though I was not
echoing the line, just processing)
?xml version=\1.0\ encoding=\ISO-8859-1\?
...as soon as I added
To: Jay Blanchard; [EMAIL PROTECTED]
Subject: RE: [PHP] XML Parser doesn't work when moved
[snip]
Having added the following line
echo XML Error .
xml_error_string(xml_get_error_code($covadParser)) .
br\n;
just after the xml_parse PHP is reporting not well-formed (invalid
Below is the code that work on a PHP 4.2.1 test server. For some reason
it is not working and not throwing errors(set to E_ALL) on 4.3.7 server.
Has anyone experienced this kind of error? Or can someone point me in
the right direction? TVMIA!
/* create a parser */
if(!($covadParser =
[snip]
/* let's parse! */
if($readXML = fopen(XMLDIR.testRecp.xml, r)){
while($lineXML = fread($readXML, 4096)){
//echo $lineXML . br\n;
xml_parse($covadParser, $lineXML, feof($readXML));
}
} else {
echo COULD NOT READ XML FILE\n;
}
/* clear
[snip]
Having added the following line
echo XML Error . xml_error_string(xml_get_error_code($covadParser)) .
br\n;
just after the xml_parse PHP is reporting not well-formed (invalid
token) so I will have to explore.
[/snip]
Having beaten my head against the wall for severqal hours now, I am
HI All,
I am getting a xml document from my customer which is signed with XML Signature.
Customer is Signing the document with xmlsec library ( parser is libxml2).
I have to verify the signature on my side and do the rest of the processing.
I saw sevaral examples on the
On Wed, 3 Nov 2004 22:51:53 -0800 (PST), Rajesh Batchu
[EMAIL PROTECTED] wrote:
HI All,
I am getting a xml document from my customer which is signed with XML Signature.
Customer is Signing the document with xmlsec library ( parser is libxml2).
I have to verify the signature on my side
Hi All,
Just looking to be pointed in the right direction... I've googled and
all that, but don't know what exactly I should be looking for.
I am writing an XML application with PHP.
Side one - send XML To side two and wait for a response:
Side two - sit and wait for side one to send XML,
how is the xml being sent to you from the other place on the internet? is
it being posted in a form, etc.?
It won't be thru a form. I guess it'll be a direct send, he'll format
something like...
request
nameJack/name
account239048098324/account
/request
... in a string and send it
Dan Joseph wrote:
how is the xml being sent to you from the other place on the internet? is
it being posted in a form, etc.?
It won't be thru a form. I guess it'll be a direct send, he'll format
something like...
request
nameJack/name
account239048098324/account
/request
...
Look at the SOAP functions. There's a SOAP client SOAP server. The
applications use SOAP calls to transfer their XML messages over the
Intenet, typically http/https, but could also use smtp for transport.
oh... good idea, I didn't even think of SOAP. I'll check with our
other developer
Anyone know any good XML parsers that work with PHP5? Most of what I can
find on freshmeat are still using PHP4 classes and Google isn't turning up
much either.
--
--Matthew Sims
--http://killermookie.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
How do I get an xml tag to work with a php script?
?xml version=1.0?
php is trying to parse that.
-Josh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php.ini
-Brent
- Original Message -
From: Josh Close [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 1:08 PM
Subject: [PHP] xml tags interfere with php tags
How do I get an xml tag to work with a php script?
?xml version=1.0?
php
How do I get an xml tag to work with a php script?
?xml version=1.0?
php is trying to parse that.
?= ''.'?xml version=1.0?'.'' ?
ugly, huh?
I'm not sure if there is a better way, but I use the above to prevent
erroneous PHP parsing of xml declarations regardless of short_open_tags
setting, and
How do I get an xml tag to work with a php script?
?xml version=1.0?
php is trying to parse that.
Either turn off the Short Tags setting in your php.ini file or have PHP
echo out that line.
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
At 1:08 PM -0500 9/1/04, Josh Close wrote:
How do I get an xml tag to work with a php script?
?xml version=1.0?
php is trying to parse that.
-Josh
You probably want to turn the short-open-tags option off, so PHP
doesn't recognize the ? as a start of a code block. Of course, if
you use that in
I'll do something similar to this. I don't want to have to turn short
tags off :P
-Josh
On Wed, 1 Sep 2004 12:21:29 -0700, Michal Migurski [EMAIL PROTECTED] wrote:
How do I get an xml tag to work with a php script?
?xml version=1.0?
php is trying to parse that.
?= ''.'?xml
On Wed, 1 Sep 2004 13:08:11 -0500, Josh Close [EMAIL PROTECTED] wrote:
How do I get an xml tag to work with a php script?
?xml version=1.0?
php is trying to parse that.
you could just echo it at the top
?php echo '?xml version=1.0?';?
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
print '?xml version=1.0?';
Regards,
Justin
-Original Message-
From: Josh Close [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 11:08 AM
To: PHP
Subject: [PHP] xml tags interfere with php tags
How do I get an xml tag to work with a php script?
?xml version=1.0
Hi.
I'm trying to create a session support where i can keep persistent objects.
I'm using XML to structure the data in the session file.
But i've come into a problem. When i execute the following code the
(--) marked instruction simply breaks the function execution:
$sess =
Im parsing a document, and its stopping prematurely.
I get this error -
not well-formed (invalid token)
Its breaking on the word -
Exposé
in the document.
Is the é an illegal character?
Any ideas how to work around this???
Thanks for any pointers...
--
PHP General Mailing List
Is there any way to validate an XML with XML Schema using PHP4... I need
something like the
bool DOMDocument-schemaValidate ( string filename)
that exists on PHP5
Thanks,
Matias.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
On Fri, 30 Jul 2004 14:25:44 -0300, Matias Bagini
[EMAIL PROTECTED] wrote:
Is there any way to validate an XML with XML Schema using PHP4... I need
something like the
bool DOMDocument-schemaValidate ( string filename)
No, not implemented in PHP 4. The Schema Implementatin of libxml2 is
PHP 4.3.7 on Linux Red Hat 7.3 full patch and updates, Expat expat_1.95.2
Problem:
I am reading the XML file below and at path:
advantage/route/origin/status/
The CDATA inside the STATUS node cannot be read (Current value 1900), there
isnt much information on how to use the EXPAT library on
Hi all,
I have to create a form from a xml containing data about the form, but I
really don't know how to process?
I can ask the xml structure I want but I don't know what is better
Please if you have any information about this?
My harder part is how handle a combo box ?(xml part and php parsing
My harder part is how handle a combo box ?(xml part and php parsing part)
Thanks for all
Pierre
this may be of help to you
http://www.topxml.com/xsltStylesheets/xslt_html.asp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes I think so.thanks a lot
And Please all,can you say here the most appreciated and usefull links of
php you have, cause I'm French and don't know English website about php I've
found some with google but there's more I guess so about php xml and mysql
thanks a lot.
Pierre
-Message
Yes I think so.thanks a lot
And Please all,can you say here the most appreciated and usefull links of
php you have, cause I'm French and don't know English website about php I've
found some with google but there's more I guess so about php xml and mysql
thanks a lot.
try this:
http://www.tribal
Any ideas on easy ways to trouble shoot problems in XML. I keep getting
invalid character errors and I dont have a good way to find the problem
and correct it.
Russ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've gotten that before and it was international (Extended ASCII)
characters which made this happen. I ended up doing a utf8_encode on
the data before I entered it into the XML, then a utf8_decode after I
processed the XML.
If you're reading someone else's file, I don't know what to say...
On
Hi,
I am trying to transform a xsl:fo file to pdf.
I generate xml files from mysql and I can convert them to xsl:fo using xslt
but I can't find information for the last step (XSL:FO to PDF)
I just know that a formatter is needed but all what I found where java, jade
or .net based
On Mon, 2004-05-24 at 10:53, juan vazquez wrote:
Hi,
I am trying to transform a xsl:fo file to pdf.
I generate xml files from mysql and I can convert them to xsl:fo using xslt
but I can't find information for the last step (XSL:FO to PDF)
I just know that a formatter is needed but all what I
You need the pear packadge XML_fo2PDF
http://pear.php.net/package/XML_fo2pdf
Yann
On Mon, 2004-05-24 at 15:22, Ray Hunter wrote:
On Mon, 2004-05-24 at 10:53, juan vazquez wrote:
Hi,
I am trying to transform a xsl:fo file to pdf.
I generate xml files from mysql and I can convert them to
Hi,
I know that this is not an xml list but maybe you could help me.
I'm looking for a good tutorial in xml or a list with most of the xml tags. I've
googled for it but i can't find anything.
Could someone send me a link to that kind of tutorial?
Thanks for your reply !!!
Stefan
Try the one at http://www.w3schools.com/
Phpu wrote:
Hi,
I know that this is not an xml list but maybe you could help me.
I'm looking for a good tutorial in xml or a list with most of the xml tags. I've
googled for it but i can't find anything.
Could someone send me a link to that kind of
Hi,
I know that this is not an xml list but maybe you could help me.
'm looking for a good tutorial in xml or a list with most of the xml tags.
I've googled for it but i can't find anything.
Could someone send me a link to that kind of tutorial?
http://www.zend.com/zend/tut/index.php
Kind
I'm looking for a good tutorial in xml or a list with most of the xml
tags. I've googled for it but i can't find anything. Could someone send
me a link to that kind of tutorial?
There are no xml tags as such; XML defines a grammar but not a
vocabulary. The actual tags used depend on the
Howdy
Here's where I'm at.
$DomDocument = domxml_open_file(myFile.xml);
$RootDomNode = $DomDocument-document_element();
print_r($RootDomNode); // just to test
$listItems = $RootDomNode - child_nodes(); print_r(brthere are .
count($listItems). child nodesbr); // 35!
print_r($listItems);
When
I wrote a script to parse an XML doc in straightforward PHP, but then decide
to write it as objects
but now I have a problem, that I hope someone with a little bit more
experience can look at:
Im at my wits end and would appreciate any help, im getting no errors as
such, but it is not parsing
At 13:44 11-5-04, you wrote:
I wrote a script to parse an XML doc in straightforward PHP, but then decide
to write it as objects
but now I have a problem, that I hope someone with a little bit more
experience can look at:
Im at my wits end and would appreciate any help, im getting no errors as
Hello,
I have created my own handler following the examples in the manual. It works
fine for XML files I created for myself. Now I tried one file given by
someone else, but I get as result always following error:
junk after document element in line 1, column 0.
I send you a part of the XML file
I send you a part of the XML file (- content), maybe you can tell me why
it
cant be interpreted. It looks like it doesn't like the ? tag?
Do you have short tags enabled? If so, you might want to disable them.
Just
to test this theory, try to add the following at the top of your script and
see
This didn't help, since the problem is in an file which doesn't pass the PHP
interpreter.
Next idea?
Regards,
Kai
Chris Boget [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
I send you a part of the XML file (- content), maybe you can tell me why
it cant be interpreted. It
Could someone point me in the right direction to learn how I can
programatically validate a XML document against a XML schema?
I've looked through the documentation but was unable to find any
thing of any relevance (or so my xml newbie mind thought).
thnx,
Chris
--
PHP General Mailing List
Hi Folks,
I've got an XML output from a website
(http://tawl.holiday.co.uk/EntryPoints/TopXasXML.aspx?WebsiteGUID=E325538D-5
B1E-4EC6-B888-35EB46418DB9) and want to display it's output on one of my
pages
I've looked at using the PHP XML Parse functions, however, I'm not certain
how to get
I found the XML_Tree class really easy to use, highly recommend it.
-Original Message-
From: Nunners [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 10:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP] XML Parsing
Hi Folks,
I've got an XML output from a website
(http
Is there a way of doing this without installing PEAR? I.e. a decent PHP
Class?
-Original Message-
From: electroteque [mailto:[EMAIL PROTECTED]
Sent: 01 April 2004 13:52
To: Nunners; [EMAIL PROTECTED]
Subject: RE: [PHP] XML Parsing
I found the XML_Tree class really easy to use, highly
Hi List,
hope somebody here can help me out here. For a new page I'm designing I see
one problem coming up.
As I need to generate varius outputs such as HTML or PDF I think going over
XML isn't a bad idea.
I create one XSL for my output and change the XML for Customer A or B behind
it.
Now how do
On Sun, 2004-03-14 at 13:17, Jabro wrote:
Hi List,
hope somebody here can help me out here. For a new page I'm designing I see
one problem coming up.
As I need to generate varius outputs such as HTML or PDF I think going over
XML isn't a bad idea.
I create one XSL for my output and change
Nick Wilson wrote:
* and then Burhan Khalid declared
Nick Wilson wrote:
I'm looking for a tool that will parse an xml doc into somthing like an
associative array for me. Basically somthing to make life simple when
dealing with Amazon XML docs.
I have been all thru hotscripts and even tried
Hi all,
I'm looking for a tool that will parse an xml doc into somthing like an
associative array for me. Basically somthing to make life simple when
dealing with Amazon XML docs.
I have been all thru hotscripts and even tried doing it myself but my
time is limited and the tools out there are
[snip]
I'm looking for a tool that will parse an xml doc into somthing like an
associative array for me. Basically somthing to make life simple when
dealing with Amazon XML docs.
I have been all thru hotscripts and even tried doing it myself but my
time is limited and the tools out there are
From: Vivian Steller
i now can use the following syntax to set the namespaceUri of a node:
?php
$element = new DomElement(tagname, value,
http://namespaceUri;);
// or
$element = new DomElement(pref:tagname, value,
http://namespaceUri;);
// works as well
?
I thought that setting $root-prefix will set the prefix and the
namespaceUri to the other domain... but it seems to me that the parser
doesn't see the xmlns:anotherprefix as a prefix-declaration?
maybe i just misunderstood something, so please correct me if so.
The current behavior is wrong
Rob Richards wrote:
From: Christian Stocker
$node-setAttributeNS(http://www.w3.org/2000/xmlns/;, xmlns:b,
http://www.somedomain.de/;);
IMHO, that would be very confusing.
I liked the idea by vivian with a third optional namespaceURI argument
for the element object, so that at least
Christian Stocker wrote:
...
Vivian, it's not possible the set the namespace according to the W3C
standard, except with createElementNS(). As Adam said, in PHP 4, there
was the option set_namespace, which isn't ported to PHP5 (yet).
Maybe we should port that function as well, to allow some
Porting the setNamespace function to PHP5 would be nice. Another solution
could be the possibility to append a namespace-node (is the
domnamespacenode class currently used by any functions?) or the
setAttribute checks wether some xmlns/xmlns: attribute is set and
updates namespaceUri
On 2/16/04 12:07 PM, Rob Richards wrote:
Porting the setNamespace function to PHP5 would be nice. Another solution
could be the possibility to append a namespace-node (is the
domnamespacenode class currently used by any functions?) or the
setAttribute checks wether some xmlns/xmlns: attribute
From: Christian Stocker
$node-setAttributeNS(http://www.w3.org/2000/xmlns/;, xmlns:b,
http://www.somedomain.de/;);
IMHO, that would be very confusing.
I liked the idea by vivian with a third optional namespaceURI argument
for the element object, so that at least you can use your own
On 2/16/04 1:24 AM, Adam Bregenzer wrote:
On Sun, 2004-02-15 at 19:04, Vivian Steller wrote:
As you can see it is impossible to set the namespace manually! I tried to
set it with the help of a DomNamespaceNode-object but those objects are no
real nodes (why!?!) and the consequence is that you
, 2004 12:42 PM
Subject: Re: [PHP] XML and Excel
Create native xls files, there are at least two classes that can help
you, here is one:
http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
Jake McHenry wrote:
Hi everyone. Since my last post of outputing to excel, I have
AM
Subject: Re: [PHP] XML and Excel
Please post your solution to the group for reference.
~phillip
Jake McHenry [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]
Cc: [EMAIL
- Original Message -
From: Phillip Jackson [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]
Sent: Tuesday, February 10, 2004 4:53 PM
Subject: Re: [PHP] XML and Excel
sure; if it doesn't compromise security for you.
~Phillip
- Original Message -
From: Jake McHenry
Hi everyone. Since my last post of outputing to excel, I have converted my output to
XML, quite happy with myself. It looks perfect. Perfect on my set that is. I have win
xp with office xp. Excel with office xp recognizes XML. Office 2000, which the rest of
my company is using, doesn't. Does
Create native xls files, there are at least two classes that can help
you, here is one:
http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
Jake McHenry wrote:
Hi everyone. Since my last post of outputing to excel, I have converted my output to XML, quite happy with myself. It
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 09, 2004 12:42 PM
Subject: Re: [PHP] XML and Excel
Create native xls files, there are at least two classes that can help
you, here is one:
http
does anyone know why some xml applications that work when sent with active-x
objects dont work when I send the xml with php instead? what can I do to
make them arrive in the same way as they do when sent with active-x objects?
thank you ,
--
Diana Castillo
--
PHP General Mailing List
Hi,
How can I show xml files which have been created in MS Word, in a browser as
ie Html.
Is this posible and what would it take.
Thanks
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
How can I show xml files which have been created in MS Word, in a
browser as
ie Html.
Is this posible and what would it take.
[/snip]
Yes, it is possible. See the XSLT reference at http://www.w3c.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi John,
On 26 Jan 2004 at 21:42, John wrote:
How can I show xml files which have been created in MS Word, in a
browser as ie Html.
Is this posible and what would it take.
The short answer to your question is Yes, it's possible.
As for what it would take, the answer is a little longer.
Hi everyone,
Can someone point me in the right direction towards creating and
implementing XML with php? I've heard it can make things much easier
on me, and would like more info on it. Also, if anyone has any storys
from using it, might give me an idea of what I'm getting into. Is it
easy to
On Fri, 2004-01-09 at 00:30, Jake McHenry wrote:
Can someone point me in the right direction towards creating and
implementing XML with php? I've heard it can make things much easier
on me, and would like more info on it. Also, if anyone has any storys
from using it, might give me an idea of
McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com
-Original Message-
From: Ray Hunter [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 9:48 AM
To: 'Php-general'
Subject: Re: [PHP] XML?
On Fri, 2004-01-09 at 00:30, Jake McHenry wrote:
Can someone
I'm doing some XML processing with PHP5
I'm using UTF-8 encoding
When I look at my xml doc it looks something like
?xml version=1.0 ?
doc
textdotted e (ë) works/text
/doc
(I hope you see a dotted e)
After xslt I end up with a html document with a souce
.
How does php get the data from the xml docs?
Loads up and parses the document.
I guess I'm just looking for info on how to use it with php.
XML: http://us2.php.net/manual/en/ref.xml.php
DOM XML: http://us2.php.net/manual/en/ref.domxml.php
That should get you started. There are many uses for xml
On Fri, 2004-01-09 at 08:23, Vincent Jansen wrote:
I'm doing some XML processing with PHP5
I'm using UTF-8 encoding
When I look at my xml doc it looks something like
?xml version=1.0 ?
doc
textdotted e (ë) works/text
/doc
(I hope you see a dotted e)
I see this using MSIE 6
But in Mozilla 1.5 I get ë for ë
I'm hoping this is fixable without changing browser settings
-Original Message-
From: Ray Hunter [mailto:[EMAIL PROTECTED]
Sent: vrijdag 9 januari 2004 16:34
To: 'Php-general'
Subject: Re: [PHP] XML/HTML encoding?
On Fri, 2004
On Fri, 2004-01-09 at 08:44, Vincent Jansen wrote:
I see this using MSIE 6
But in Mozilla 1.5 I get ë for ë
I'm hoping this is fixable without changing browser settings
Do you have this page accessible via the web that i can take a look at
it.
--
Ray
--
PHP General Mailing List
I am about to embark on a project that requires me to access several mysql
files (customer order entry), gather the information and output an XML
formatted file that will be used as an input file to another accounting
application.
Question is this. As a seasoned developer, my natural instinct is
snip
Question is this. As a seasoned developer, my natural instinct is to
just
write a script(s) to access all the information that I need and write
the
appropriate information out to the file. Is there a better way to do
this?
Is there some type of application that has been developed that will
Answer: Multi-Byte String Functions.
You could take a look at the function:
string mb_convert_encoding ( string str, string to-encoding [, mixed
from-encoding] )
You must have php_mbstring extension enabled in your php.ini file.
Regards,
Lucian COZMA
Russell P Jones [EMAIL PROTECTED] wrote
Im storing a lot of user-entered data in XML files but i have a problem
with folks submitting stuff just by copying and pasting from microsoft
word. Smart Quotes and other awkward text then gets submitted and ruins
the xml, meaning i am searching and replacing item by item to replace
stuff.
Does
Hello,
On 12/08/2003 04:37 PM, Russell P Jones wrote:
Im storing a lot of user-entered data in XML files but i have a problem
with folks submitting stuff just by copying and pasting from microsoft
word. Smart Quotes and other awkward text then gets submitted and ruins
the xml, meaning i am
Hi all,
under 4.3 is there any way to work with XSLT and XML that *does not*
require additional modules etc to be installed? Perhaps a set of classes
or somesuch?
Many thanks...
--
Nick W
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nick Wilson wrote:
Hi all,
under 4.3 is there any way to work with XSLT and XML that *does not*
require additional modules etc to be installed? Perhaps a set of classes
or somesuch?
Many thanks...
http://pear.php.net
http://www.phpclasses.org
--
Burhan Khalid
phplist[at]meidomus[dot]com
* and then Burhan Khalid declared
under 4.3 is there any way to work with XSLT and XML that *does not*
require additional modules etc to be installed? Perhaps a set of classes
or somesuch?
Many thanks...
http://pear.php.net
http://www.phpclasses.org
Thanks, hard to beleive I've not
I'm on the point of almost giving up trying to get XML and PHP to sing
along, but I'll throw out a question here first.
I'm having severe problems getting PHP and XML to work with XML-files
that contains foreign characters. Doesnt matter if i type the foreign
characters in by myself hardcoded
Victor Spng Arthursson wrote:
I'm on the point of almost giving up trying to get XML and PHP to sing
along, but I'll throw out a question here first.
I'm having severe problems getting PHP and XML to work with XML-files
that contains foreign characters. Doesnt matter if i type the foreign
Hallo zusammen,
ich möchte gerne meine bestehende app in mehreren Sprachen anbieten.
Dazu habe ich mir ein xml parser package installiert welches in der Lage
ist aus xml dateien inhalte einzufügen.
Zum Bsp sieht das xml file so aus:
enexample/en
debeispiel/de
Das funktioniert so weit. Das
How are you parsing the XML? If you read the values into a PHP variable, and
you're confident in the contents of the string, you could use eval()... Also,
preg_replace_callback() may be useful.
If you provide a bit more example, it may be more easy to help. In any case, I
think your variable
On Thursday 20 November 2003 08:18 am, Scott Fletcher wrote:
Hi Everyone!
I'm having a little trouble understanding how exactly to use the XML
parser. I haven't found the right settings to set up the XML Parser's
option because of no definition of the encoding setting in the XML tags I
Hi Everyone!
I'm having a little trouble understanding how exactly to use the XML
parser. I haven't found the right settings to set up the XML Parser's
option because of no definition of the encoding setting in the XML tags I
received. So, I'll post the script here and hope to get some
Send me a piece of the xml file you're having problems with. I'll make it
work (output a utf-8 html with greek characters).
BTW, do you use DOM or just the xml_parser_create functions?
Pnp [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I tried that, but still i got weird symbols.
Hi, I'm developing a web site for a greek company and I want to show some
greek texts from an xml file to an html page. The pages encoding is utf-8.
So is the xml file and the xmlparses params. But the output is a bunch of
???...
What am I doing wrong? Is there any way to do this?
Thanks in
Hi, I'm developing a web site for a greek company and I want to show some
greek texts from an xml file to an html page. The pages encoding is utf-8.
So is the xml file and the xmlparses params. But the output is a bunch of
???...
What am I doing wrong? Is there any way to do this?
Thanks in
PROTECTED]
Sent: Monday, 17 November, 2003 05:42
Subject: [PHP] php-xml
Hi, I'm developing a web site for a greek company and I want to show some
greek texts from an xml file to an html page. The pages encoding is utf-8.
So is the xml file and the xmlparses params. But the output is a bunch
* Thus wrote pnp ([EMAIL PROTECTED]):
Hi, I'm developing a web site for a greek company and I want to show some
greek texts from an xml file to an html page. The pages encoding is utf-8.
So is the xml file and the xmlparses params. But the output is a bunch of
???...
You need to set the
I think i found it...
thank you for trying to help.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
301 - 400 of 849 matches
Mail list logo