Hi,
use https://github.com/theseer/fDOMDocument. You can install it over
PEAR. You can use it like
$xml = 'xmlroottest id=my_id /';
$dom = new fDOMDocument();
$dom-loadXML($xml);
// get attribute
$elementNode = $dom-queryOne('//test[@id=my_id]');
echo $elementNode-nodeValue;
Greetings
Carlos
On 09/15/2011 01:20 PM, Matthew Pounsett wrote:
I seems to behaving issues with php5 on one particular server, and I haven't
been able to find the issue. Basically, php says XML is enabled, but xml
functions are missing.
php -i | grep XML support
libXML support = active
Perhaps you
On 03/04/11 19:41, 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
Thank you again for your help.
I've popped the file to http://FileHost.JustFreeSpace.Com/157index.php
. A typical file that'll be plugged into this template lives at
http://FileHost.JustFreeSpace.Com/940index.htm .
With thanks,
Borden
On 11/06/2008, Rob Richards [EMAIL PROTECTED] wrote:
You
Borden Rhodes wrote:
I'm having a pig of a time trying to figure this one out: I have an
XHTML document which I've loaded into a DOMDocument because I want to
add more tags to it. However, since I live in a bilingual country, I
want to get the document's xml:lang attribute so I know what
Thank you, Rob,
Unfortunately, that didn't work, either (though I'll keep it in mind).
The returned string is still empty.
I also unsuccessfully fetched the 'xmlns' attribute using
getAttribute(). Interestingly, although hasAttributes(void) returns
true, hasAttribute('xmlns'), and
You might want to put a link to a complete example because
$page-documentElement-getAttributeNS('http://www.w3.org/XML/1998/namespace',
'lang'); is how you access it.
Rob
[EMAIL PROTECTED] wrote:
Thank you, Rob,
Unfortunately, that didn't work, either (though I'll keep it in mind).
The
16 aug 2007 kl. 13.12 skrev Colin Guthrie:
Frank Arensmeier wrote:
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
Frank Arensmeier wrote:
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
Since posting this, I found what appears to be an excellent choice.
http://xml-copy-editor.sourceforge.net/
Al wrote:
What do you guys use for casual XML editing, besides plain text editors?
Ones that'll error check and allow fixing files with errors?
Thanks...
--
PHP General Mailing List
Richard Luckhurst wrote:
Hi List
I have taken the advice of a number of people on the list and am back trying to
write my XML parser using SimpleXML. I am having a problem and I believe the
problem is my lack of understanding of arrays and simpleXML in spite of much
google searching and manual
Delete the initial extra line in:
$xml_data = EOF
?xml version=1.0?
The XML Parser expects the XML document to start with a valid XML
statement, which in your file is: ?xml version=1.0? but yours starts
with an newline.
$xml_data = EOF
//newline
?xml version=1.0?
onewaylife wrote:
Hi
Add on :
I got this error when i using xmldocfile() function to read the xml
file ,
Warning: xmldocfile():
/home/gvintranet/datacraft/htdocs/uploads/test_cdata.xml:99: in
/home/gvintranet/datacraft/htdocs/admin/test_writexml.php on line 6
Warning: xmldocfile(): error: in
Hi all ,
Can I edit the xml file before doing xml parsing ?
My xml file is around 16MB size.
Anyone have any ideas how to do that?
Thanks
weetat wrote:
Add on :
I got this error when i using xmldocfile() function to read the xml file ,
Warning: xmldocfile():
Mark wrote:
Well, last week or so I noticed that Squirrelmail's session array
contained recursive variable references and caused my serializer to crash
on infinite recursion. Oh well, that's life.
I found the time to add a variable stack for encoding to XML. If a
variable is is_ref or has
Andy Pieters wrote:
Hi all
I recently decided to switch to xml for the configuration of our programs.
I am now looking for a good way to handle that xml data.
Basically, what I am looking for is a functionality where I say
Get tag x with attribute1=y, attribute2=z,..., read its contents and
Hello,
on 04/27/2005 10:04 AM Nsk said the following:
I am developing a PHP-implemented library which would allow a PHP programmer
to write pre-defined data to a database. The library would be able to work
with different database schemas and I need a way to inform the library with
what kind of
Douglas 1 Jones wrote:
Hello,
I'm wondering if anyone knows of a filter that can take data to be wrapped in
XML tags and filter this data encoding any illegal XML characters or, if they
cannot be encoded, remove them. The problem I have is a database that contains
text that must be wrapped in
Perhaps I am misunderstanding your problem, so let me ask it another
way. Is the problem that you are getting characters entered into the
database that are encoded in one way (e.g. UTF-8) when you expected the
characters to be encoded in another way (e.g. ISO-8859-1)?
No, the problem involves
Jones, Douglas 1 wrote:
I think that a function just like htmlentities but one
that just removes characters that are illegal but can not
be fixed would be the ideal solution.
How do you define what can and cannot be fixed, though? You'd have to
know the bad characters and in that case, a
Matthew Sims wrote:
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.
What do you want to do? This parses xml pretty well:
?php
$parsed = simplexml_load_file('filename.xml');
?
as does
Matthew Sims wrote:
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.
What do you want to do? This parses xml pretty well:
?php
$parsed = simplexml_load_file('filename.xml');
Matthew Sims wrote:
My fault, I should have been more specific. An RSS reader. :) I was using
xmlParser-0.3 and feedParser-0.5 to display news sites. Since I've
converted to PHP5, they no longer work for me.
definitely a combination of simplexml and DOM would work. You need DOM
in order to
Matthew Sims wrote:
My fault, I should have been more specific. An RSS reader. :) I was
using
xmlParser-0.3 and feedParser-0.5 to display news sites. Since I've
converted to PHP5, they no longer work for me.
definitely a combination of simplexml and DOM would work. You need DOM
in order
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
turn OFF short_open_tag in php.ini, or using the
PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're
using that).
--
PHP General Mailing List
Just do it like this:
?php
echo '?xml version=1.0?';
?
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
--
Regards,
Ben Ramsey
http://benramsey.com
---
From: M. Sokolewicz [EMAIL PROTECTED]
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
turn OFF short_open_tag in php.ini, or using the
PHP_FLAG short_open_tag Off in your apache .htaccess file (if you're
using that).
or
?='?xml version=1.0?'?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Miguel Manso wrote:
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
Matias Bagini matiasb at netlabs.com.ar writes:
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.
I use an external validator called XSV. It's the
Forget myt post, its a stupid error from my part because of object
references and stuff like that. I'll fix it myself.
Mathieu Dumoulin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
PHP 4.3.7 on Linux Red Hat 7.3 full patch and updates, Expat expat_1.95.2
Problem:
I am reading
Hi
I'm afraid I don't know anything about the xml/xsl:fo part of the
process but once you have the data in a usable form in your
program you can use PDFLIB functions to create a pdf from it. I
have used it very successfully. It does involve compiling libraries
and you may well have to pay a
Hello,
On 02/04/2004 12:59 PM, Diana Castillo wrote:
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?
What are you
If this is Possible, Please Tell me, i'm also very interested in this.
Or if you know any method to 'find and replace' a string in a PDF file
please also tell me
e.g, i want to replace all occurnces of [name] with John From a PDF file
on the server, when i open it ofcourse it won't have [name] as
Hi there, Jake,
On 9 Jan 2004 at 2: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
Hello,
On 01/09/2004 05:30 AM, Jake McHenry wrote:
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
Hello,
On 01/09/2004 01:23 PM, 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)
After
Hello Vincent,
On 9 Jan 2004 at 16:23, Vincent Jansen wrote:
After xslt I end up with a html document with a souce that looks
something like
?xml version=1.0 encoding=UTF-8 standalone=yes?
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
Try Krysalis (http://www.interakt.ro/products/Krysalis/) if you're trying
something more complex. It's a PHP/XML platform.
If you want simple stuff (just generate XML's), I recomend doing for
yourself a custom class/function for it.
Here is a code sample:
psql:execute-query connection=krysalis
Hello,
On 12/11/2003 12:57 PM, Mark Roberts wrote:
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
2003-12-03 kl. 11.18 skrev Victor Spng Arthursson:
Temporarely solved the problem using substring to trim the crap-chars
away, but I'ld prefer to solve it in a more beautiful way, but perhaps
this behaviour is a bug and therefore not possible to solve in any
other way
But do we think it works
Here is the error message, that the code produces:
http://tosti.dk/xml/error.php
And here is a copy of the code:
http://tosti.dk/xml/error.txt
I really cant figure what is wrong, especially not since it works on
the dev-server and the outputted xml is valid, at least as far as IE
concerns
2003-12-02 kl. 12.23 skrev Manuel Lemos:
You just need to use the proper input/output encodings.
Doesn't work at all
The code
// Prepare the content of the xml-file to go to the xsl-parser
$xml = str_replace(?, chr(63), $contents);
$xml = str_replace(empty/, $kurt, $xml);
$xml = trim($xml);
2003-12-02 kl. 22.08 skrev Manuel Lemos:
The code
// Prepare the content of the xml-file to go to the xsl-parser
$xml = str_replace(empty/, $tempxml, $xml);
$xml = trim($xml);
$xml = utf8_encode($xml);
echo $xml;
makes the string
?xml version=1.0 encoding=utf-8?
become
?xml version=1.0
2003-12-03 kl. 10.22 skrev Victor Spng Arthursson:
makes the string
?xml version=1.0 encoding=utf-8?
become
?xml version=1.0 encoding=utf-8?
Temporarely solved the problem using substring to trim the crap-chars
away, but I'ld prefer to solve it in a more beautiful way, but perhaps
this
Hello,
On 12/02/2003 09:05 AM, 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
If you want that all the users will be able to help you, please post in
English.
Lucian
Merlin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hallo zusammen,
ich möchte gerne meine bestehende app in mehreren Sprachen anbieten.
Dazu habe ich mir ein xml parser package installiert
http://www.zend.com/zend/art/parsing.php
http://www.zend.com/zend/tut/tutbarlach.php
in fact a google search for php,xml, expat, tutorial
pete
Victor spång arthursson wrote:
Hi!
I've been looking at the XML-parserfunctions in the manual, and they
seems nice enough.
But I'm currently in a
2003-11-06 kl. 13.42 skrev pete M:
http://www.zend.com/zend/art/parsing.php
http://www.zend.com/zend/tut/tutbarlach.php
in fact a google search for php,xml, expat, tutorial
Well, interesting articles but not really what I was searching for. I'm
rather looking for something like the parser in
Victor Spng Arthursson wrote:
2003-11-06 kl. 13.42 skrev pete M:
http://www.zend.com/zend/art/parsing.php
http://www.zend.com/zend/tut/tutbarlach.php
in fact a google search for php,xml, expat, tutorial
Well, interesting articles but not really what I was searching for. I'm
rather looking for
Thanks to everyone who has responded. I have a lot of useful suggestions,
and a warm feeling about this newsgroup ;-). I hope I can be of help to
everyone in the future.
cheers
ian
Ian Williams [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Apologies to anyone also subscribed to
Hello,
On 10/26/2003 06:08 PM, Ian Williams wrote:
I want to write a function that will take any SQL query as a parameter, and
generate XML that represents the recordset.
e.g. SELECT * FROM Customers
returns:
recordset
record id=1 name=Mr Smith purchases=2/
record id=2 name=Mr Jones
On Fri, 10 Oct 2003 18:09:18 -0400, [EMAIL PROTECTED] wrote:
Hello mailing list, I have a question about the use of XML / XLS
application, I am introducing myself in this technology, What is useful
XML
/ XLS for?
XML - data storage
XLS - language to display define how to display XML.
HTML - XML
Hi,
Use xml_set_object, and away you go. Perhaps you would benefit from
using PEAR's XML_Parser or XML_Transformer, or even PEAR's HTTP_Request
class.
http://php.net/xml_set_object
http://pear.php.net/xml_parser
http://pear.php.net/xml_transformer
http://pear.php.net/http_request
Regards,
Use xml_set_object, and away you go. Perhaps you would benefit from
using PEAR's XML_Parser or XML_Transformer, or even PEAR's
HTTP_Request
class.
http://php.net/xml_set_object
http://pear.php.net/xml_parser http://pear.php.net/xml_transformer
http://pear.php.net/http_request
Thanks for
Hi Robert,
Yes there is a very stupid reason: no one has written any.
Go to
http://phpdorks.net/docs/api/pear/HTTP/HTTP_Request.html
http://phpdorks.net/docs/api/pear/PEAR/XML_Parser.html
for documentation generated from the source by phpDocumentor
Regards,
Greg
--
phpDocumentor
Michael == Michael Smith [EMAIL PROTECTED] writes:
Michael Hey, I'm looking for a function to take an XML file and
Michael turn it into a PHP array with the same structure.
here's something that I found on the internet a few months back. I've
used it a number of times:
C U T
Lee == Lee Doolan [EMAIL PROTECTED] writes:
Michael == Michael Smith [EMAIL PROTECTED] writes:
Michael Hey, I'm looking for a function to take an XML file and
Michael turn it into a PHP array with the same structure.
Lee here's something that I found on the internet a few months
I believe this is because the PHP engine thinks that the ?xml is a PHP opening tag.
1. Turn off short PHP tags (short_open_tag in php.ini)
-OR-
2. Use this instead: ?php echo '?xml version=1.0 encoding=UTF-8?'; ?
Joseph
Doug Essinger-Hileman [EMAIL PROTECTED] wrote in message news:[EMAIL
I might be mistaken but what you are getting is the normalized whitespaces
inbetween your nodes, which is considered to be their content.
Example:
...
test
test2/
/test
Will return the following dom:
test
|
---
/ |
This xml+html+xslt paradigm provides great separation, especially when
viewed in light of the traditional xslt=html+code method. I've used it
with good success.
http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html
HTH.
Pete.
--
Pusher
http://www.shaman.ca/pusher
A news aggregator with
Pete James [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This xml+html+xslt paradigm provides great separation, especially when
viewed in light of the traditional xslt=html+code method. I've used it
with good success.
This does relieve the problem of dirty templates, but with some
Pete James [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
This xml+html+xslt paradigm provides great separation, especially when
viewed in light of the traditional xslt=html+code method. I've used it
with good success.
This does relieve the problem of dirty templates, but with some
Hi,
From my point of view, XML+XSLT increases complexity
with very less number of advantages.
Fundamental of using XML+XSLT with PHP is to seperate
HTML code from the PHP and database code. But in the
following article, it shows XSL stylesheet comes with
full of logic. Do we really need this
IMO, Smarty is just an abstraction of PHP. Smarty templates are HTML
templates, but they still contain their own application logic for
looping, etc, and so are still not a real separation (or are *dirty*, as
'rush' calls it).
XML+HTML+XSLT (or Template Tamer from what I can gather) take it
: [PHP] Re: XML+XSLT or Smarty again??
This xml+html+xslt paradigm provides great separation, especially when
viewed in light of the traditional xslt=html+code method. I've used it
with good success.
http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html
HTH.
Pete.
--
Pusher
http://www.shaman.ca
Hello
Ok can't refrain from giving my opinion to this one.
First of all I think separating presentation from business logic can be
achived fairly simple with SMARTY and if your template code acutally
contains business logic than you have not understood the concept of the
template engine. The
Hardik Doshi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
During reading of XML+XSLT and Smarty, i have
following two questions.
Actually i dont know much about Advantages of XML+XSLT
in web based application. What i know is Smarty's
advantages. So if you have any idea then
Hello,
On 01/30/2003 01:17 PM, Hardik Doshi wrote:
Can you please tell me what is the best way of working with XML technology using PHP? I am not clear about integration of these two technologies.
Suggest some books or links or good tutorials.
Either of these books reviewed here are very
xsl:script language=javascript
![CDATA[
pos = 0;
function getpos(spos){
epos = spos + 4;
pos = pos + 1;
if(pos = spos pos = epos){
return true;
}else{
return false;
}
}
]]
/xsl:script
--
PHP General Mailing
Karl James [EMAIL PROTECTED] disgorged:
: What the hell is XML anyway?
eXtensible Markup Language
http://www.w3.org/XML/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You'll need the SAX or DOM functions if you will be /generating/ your
XML.
I suppose, you mean, generating XML from another XML document, am I right?
The Sablotron extension (and other XSLT processors) take XML and
XSLT and output whatever your XSLT tells it to. The XSLT processor
depends
Hello,
On 10/31/2002 12:01 AM, Maxim Maletsky wrote:
Guys,
The other day, one of my clients asked me this very tricky question:
Can we also use that XML data for making MS Word (.doc) files?
Our system is designed to produce XML output independently to then later
transform it into HTML with
If your server is running under Windows, you can use COM objects for
generating MS Word documents.
No way it's windows :)
There is VMWare though, i might consider that. It is actually used for
something similar. yet, I still have to research on direct MSWord
generation.
Anyway, if you can
Anyway, if you can generate RTF documents from your XML, just serve
them
with MS Word content type and .doc file name extension and MS Word
will
open them seeminglessly.
Or just send HTML with Word headers and Word will open it right up. Your
users won't even know it's HTML.
---John Holmes...
Hello,
On 10/31/2002 12:22 AM, Maxim Maletsky wrote:
Anyway, if you can generate RTF documents from your XML, just serve them
with MS Word content type and .doc file name extension and MS Word will
open them seeminglessly.
How limited is this method? Can it be pretty well formatted with
On 10/04/2002 09:14 AM, 翽 wrote:
But I need to modify this script so that I can set the encoding of the xml document
to ISO-8859-1 so it would look like this:
?xml version=1.0 encoding=”iso-8859-1” ?
- cds
- cd id=1
titlesdfsdfsdf/title
artistssdfsdf/artist
/cd
- cd id=2
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Sent: 4. október 2002 12:23
To: [EMAIL PROTECTED]
Subject: [PHP] Re: XML dom encode
On 10/04/2002 09:14 AM, 翽 wrote:
But I need to modify this script so that I can set the encoding of the xml document
to ISO-8859-1 so
Hello,
On 10/02/2002 01:15 AM, Khalid El-Kary wrote:
hi,
i have developped an XML parser that's easy to use and very fast, and i
have run two websites using it.
http://creaturesx.ma.cx
http://creaturesx.ma.cx/osman/jokes/index.php (not complete website)
the question comes now what's
Hello,
On 09/30/2002 09:54 AM, Föíö Öxîêójînyóon wrote:
I need to apply iso-8859-1 encodeing to the ?xml version=1.0? that
this function creates:
new_xmldoc(1.0).
I tried to replace the line but ofcourse the new_xmldoc function creates
object-tree of the document and I dont know I
Spend some time learning about xml and you won't regret it
Could you (or anyone else on the list) recommend some good resources (Books
/ Websites) for learning XML and XSLT?
Thanks,
Javier
_
MSN Photos is the easiest way to
Javier Montserat wrote:
Spend some time learning about xml and you won't regret it
Could you (or anyone else on the list) recommend some good resources
(Books / Websites) for learning XML and XSLT?
Thanks,
Javier
http://www.devshed.com/Server_Side/XML
http://www.xml.com (look
http://www.w3schools.com/xml/default.asp has some tutorials.. It helped me
understand the basics of XML and what it can be used for.. They also have some
XSL(T) information and tutorials (http://www.w3schools.com/xsl/default.asp) as
well..
Take care.. peace..
eriol
Javier Montserat [EMAIL
Hi,
XML, eXtensible Markup Language. Meta-language. XML allows you to create
your own variables and meta names. You should read some doc about it. Btw
your question has nothing to do with PHP but really with XML you should take
a look to the XML's mailing list they will help you better than we
this line is only for debugging: print $val
located within these tags in startElement
case NAME: $da_relicname=$val;print $val;break;
case TYPE: $da_relictype=$val;break;
Pafo [EMAIL PROTECTED] skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i was almost done with
Hello,
On 08/15/2002 10:30 AM, Pafo wrote:
iwill rephrase my question, where can i find good xml-php links?
how would you extract all information about the Guinevere server in this
xmlpage,
http://www.camelotherald.com/xml/servers.xml
its aprox in the middle of the list, and i want all
this is a simple scipt witch i worked out,, but it Dosent work due to:
i cant get information from a deeper node...
like this:
server
servers name=ajs blaa blaa blaa
pop100/pop
relic name=george type=melee
ownernisse/owner
/relic
/servers
/server
i want to get: relic
On Thu, Aug 15, 2002 at 11:28:51PM +0200, Pafo wrote:
i cant get information from a deeper node...
server
servers name=ajs blaa blaa blaa
pop100/pop
relic name=george type=melee
ownernisse/owner
/relic
/servers
/server
Carefully examine the code at
I alway knew there is an easier way to do that. Problem is just don't know
it. I like your example and it is an wonderful example. I can use it. One
quick question. The function, posttofunction(), is that a make-believe
function? I check PHP.net and it doesn't have this function, so I
I read the useful document about XML in PHP on
http://www.analysisandsolutions.com/code/phpxml.html. I still haven't made
much progress on XML. I'm still confuse about XML. I had to write XML
stuffs on the client-side with the build-in XML request and it doesn't make
sense that the client
Hi y'all
Has anyone found any problems with the xml parsing functions when the xml
document gets quite large. eg, a doc with about 5000 lines (about 200KB)
The problem that's occurring is that some of the elements are being broken
in two parts
If you require more details, please ask, as it's
http://sourceforge.net/projects/phpxpath/
[EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
I´m working on a little web shop solution for a school project, therefore
I´m looking for
a PHP XML-Parser or some source code I can get from somewhere.
Hello,
David McInnis wrote:
I am looking for an extension / class that allow me to create and modify
XML documents within PHP. I looked at the xml extensions packaged with
PHP and it looks like these are used only for parsing XML.
In addition to parsing the XML, I need to be able to add /
In 000a01c1af5a$dbf70140$73fd883e@laptop, Hammy wrote:
Is there any way to suppress or detect when the closing element event
fires from tags in the form tag / rather than tag/tag?
no, i don't think so. It means exactly the same in the XML-sense, so why
should there be a difference in
10:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: XML closing elements called for tag /
In 000a01c1af5a$dbf70140$73fd883e@laptop, Hammy wrote:
Is there any way to suppress or detect when the closing element event
fires from tags in the form tag / rather than tag/tag?
no, i don't think so
Lasse Laursen [EMAIL PROTECTED] wrote in message
02c301c1a4c4$42e03620$[EMAIL PROTECTED]">news:02c301c1a4c4$42e03620$[EMAIL PROTECTED]...
Hi,
We are about to develop a CMS that uses XML and XSLT.
The XML files contains some static information (header, footers and common
non-dynamic
Hi Ben,
Had the same problem. The solution I came up with was to populate the value
repeatedly by concantenation.
$thisxmlval .= (whatever is sent from the parser).
Note the . in front of the =
As long as the parser is still sending values from this tag, your program
should concantenate
The only predefine entities in XML are lt; gt; amp;
all others need to be defined in the dtd.
Best thing to do is leave the charatef as is in the xml and only run
htmlentites on the contents when sending the contents to an html web
browser.
The xml will happily hold the character as it is.
If
You can almost for sure alter the XML doc and write it out again...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
-
Teodor Cimpoesu wrote:
my follow-up was from an suggest of using % though :)
it exists in C, ASP and JSP. We have it in PHP, why not use it?
Because it is not compatible with XML syntax. Following is incorrect in
XML, because '' has very restricted usage:
tag
% echo Date("d.m.Y") %
/tag
If
1 - 100 of 105 matches
Mail list logo