[PHP] Re: XML to Array

2013-03-10 Thread Carlos Medina
Hi, use https://github.com/theseer/fDOMDocument. You can install it over PEAR. You can use it like $xml = ''; $dom = new fDOMDocument(); $dom->loadXML($xml); // get attribute $elementNode = $dom->queryOne('//test[@id="my_id"]'); echo $elementNode->nodeValue; Greetings Carlos Medina Am 10.03

[PHP] Re: XML enabled but not working

2011-09-16 Thread James Moe
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 >

[PHP] Re: XML... Useful or another layer of complexity?

2011-04-04 Thread Pete Ford
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 ques

[PHP] Re: XML DOM problem with getAttribute(string)

2008-06-21 Thread dominussuus
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: > Yo

[PHP] Re: XML DOM problem with getAttribute(string)

2008-06-11 Thread Rob Richards
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

[PHP] Re: XML DOM problem with getAttribute(string)

2008-06-11 Thread dominussuus
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 hasAttribute(

[PHP] Re: XML DOM problem with getAttribute(string)

2008-06-11 Thread Rob Richards
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 langua

Re: [PHP] Re: XML editors

2007-08-17 Thread Frank Arensmeier
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

[PHP] Re: XML editors

2007-08-16 Thread Al
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 (

[PHP] Re: XML editors

2007-08-16 Thread 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 mind was Tiny MCE. Sure, it could be possib

[PHP] Re: XML Parsing simpleXML Arrays Question

2007-01-15 Thread Myron Turner
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 r

[PHP] Re: XML parser error ..

2006-11-22 Thread Myron Turner
Delete the initial extra line in: > $xml_data = << > The XML Parser expects the XML document to start with a valid XML statement, which in your file is: but yours starts with an newline. $xml_data = << onewaylife wrote: Hi all I am novice in XML. I have just started to creating PHP pa

[PHP] Re: XML

2006-06-26 Thread weetat
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(): /home/gvintranet/datacraft/h

[PHP] Re: XML

2006-06-26 Thread weetat
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 /home/gvintranet

[PHP] Re: XML Session serializer - XMLDBX

2006-01-26 Thread Mark
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"

[PHP] Re: xml

2005-05-27 Thread Jason Barnett
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 p

[PHP] Re: XML language for database schema definitions

2005-04-27 Thread Manuel Lemos
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

Re: [PHP] Re: XML Filters for illegal characters

2005-01-05 Thread John Holmes
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 si

[PHP] Re: XML Filters for illegal characters

2005-01-05 Thread Jones, Douglas 1
>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 invol

[PHP] Re: XML Filters for illegal characters

2005-01-05 Thread Jason Barnett
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 X

Re: [PHP] Re: XML parser for PHP5

2004-09-15 Thread Matthew Sims
> 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

Re: [PHP] Re: XML parser for PHP5

2004-09-15 Thread Greg Beaver
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 determ

Re: [PHP] Re: XML parser for PHP5

2004-09-15 Thread Matthew Sims
> 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: > > $parsed = simplexml_load_file('filename

[PHP] Re: XML parser for PHP5

2004-09-15 Thread Greg Beaver
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: as does this load('filename.xml'); ?> The first one is brillian

Re: [PHP] Re: xml tags interfere with php tags

2004-09-01 Thread Comex
'?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: xml tags interfere with php tags

2004-09-01 Thread John Holmes
From: "M. Sokolewicz" <[EMAIL PROTECTED]> Josh Close wrote: How do I get an xml tag to work with a php script? 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 echo ''; or '?>

[PHP] Re: xml tags interfere with php tags

2004-09-01 Thread Ben Ramsey
Just do it like this: '; ?> Josh Close wrote: How do I get an xml tag to work with a php script? php is trying to parse that. -Josh -- Regards, Ben Ramsey http://benramsey.com --- http://www.phpcommunity.org/ Open Source, Open Community Visit for mor

[PHP] Re: xml tags interfere with php tags

2004-09-01 Thread M. Sokolewicz
Josh Close wrote: How do I get an xml tag to work with a php script? 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 (http://www.php.net/) To unsubscr

[PHP] Re: XML session

2004-08-12 Thread Miguel Manso
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: $ses

[PHP] Re: XML validation with XML Schema

2004-08-05 Thread Ace
Matias Bagini 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 t

[PHP] Re: XML Cdata problem

2004-06-30 Thread Mathieu Dumoulin
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 re

[PHP] Re: xml -> xslt -> xsl:fo -> pdf

2004-05-26 Thread hboyce
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

[PHP] Re: xml posts

2004-02-05 Thread Manuel Lemos
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 talki

[PHP] Re: XML to PDF with XSL

2004-01-23 Thread Ammar Ibrahim
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] a

[PHP] Re: XML/HTML encoding?

2004-01-09 Thread memoimyself
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 > > > "http://www.w3.org/TR/REC-html40/loose.dtd";> > > > dotted e (ë) works > > >

[PHP] Re: XML/HTML encoding?

2004-01-09 Thread Manuel Lemos
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 dotted e (ë) works (I hope you see a dotted e) After xslt I end up with a html document

[PHP] Re: XML?

2004-01-09 Thread Manuel Lemos
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

[PHP] Re: XML?

2004-01-09 Thread memoimyself
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

[PHP] Re: XML Strategdy

2003-12-11 Thread Manuel Lemos
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 this

[PHP] Re: XML Strategdy

2003-12-11 Thread Lucian Cozma
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: select * from department_dep inner j

Re: [PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-04 Thread Victor Spång Arthursson
Here is the error message, that the code produces: And here is a copy of the code: 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

Re: [PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-04 Thread Victor Spång Arthursson
2003-12-03 kl. 11.18 skrev Victor Spång 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

Re: [PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-03 Thread Victor Spång Arthursson
2003-12-03 kl. 10.22 skrev Victor Spång Arthursson: makes the string "" become "" 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

Re: [PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-03 Thread Victor Spång Arthursson
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("", $tempxml, $xml); $xml = trim($xml); $xml = utf8_encode($xml); echo $xml; makes the string "" become "" And the crap in fron of the string, which seems to come

[PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-03 Thread Victor Spång Arthursson
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("", $kurt, $xml); $xml = trim($xml); $xml

[PHP] Re: XML, strings and foreign (swedish/danish) characters

2003-12-02 Thread Manuel Lemos
Hello, On 12/02/2003 09:05 AM, Victor spång 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 ma

[PHP] Re: xml parser und bestehende variablen - multilinguale app

2003-11-24 Thread Lucian Cozma
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 instal

Re: [PHP] Re: XML and PHP

2003-11-06 Thread Burhan Khalid
Victor Spång 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

Re: [PHP] Re: XML and PHP

2003-11-06 Thread Victor Spång Arthursson
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 Flas

[PHP] Re: XML and PHP

2003-11-06 Thread 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 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 proje

[PHP] Re: XML/MySQL

2003-10-27 Thread Ian Williams
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

[PHP] Re: XML/MySQL

2003-10-26 Thread Manuel Lemos
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: There are two approaches I think. One is to use the XML DOM, the oth

[PHP] Re: XML / XLS application

2003-10-10 Thread Curt Zirzow
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

[PHP] Re: xml and php

2003-07-31 Thread sven
on a windows box you don't need to compile your php (--with-domxml). i think you installed the precompiled binaries from php.net. so if you want to enable this extension, look into your php.ini and uncomment the following line: extension=php_domxml.dll hth SVEN Steff wrote: > Hello > > I'm a

[PHP] Re: XML handlers in classes

2003-07-25 Thread Greg Beaver
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 http://www.php

[PHP] RE: XML handlers in classes

2003-07-25 Thread Robert Fitzpatrick
> 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

[PHP] Re: XML handlers in classes

2003-07-25 Thread Greg Beaver
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, Greg

[PHP] Re: XML Array

2003-07-16 Thread Lee Doolan
> "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 inter

[PHP] Re: XML Array

2003-07-16 Thread Lee Doolan
> "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:

[PHP] RE: xml parse error?

2003-04-03 Thread SLanger
I might be mistaken but what you are getting is the normalized whitespaces inbetween your nodes, which is considered to be their content. Example: ... Will return the following dom: test | --- / | \ #text

Re: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread SLanger
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

RE: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread Dan Rossi
t: Re: [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. -- http://www

Re: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread Pete James
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 the

Re: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread Hardik Doshi
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 ap

Re: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread rush
"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 wit

Re: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread rush
"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 wit

Re: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread Pete James
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. -- http://www.shaman.ca/pusher A news aggregator with email notif

[PHP] Re: XML+XSLT or Smarty again??

2003-03-29 Thread rush
"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 t

[PHP] Re: XML PHP question

2003-01-30 Thread Manuel Lemos
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 good

[PHP] Re: XML + XSL

2002-12-17 Thread Bogomil Shopov
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: xml

2002-11-05 Thread eriol
"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

Re: [PHP] Re: XML to MS Word

2002-10-30 Thread Manuel Lemos
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 enoug

RE: [PHP] Re: XML to MS Word

2002-10-30 Thread John W. Holmes
> 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.

Re: [PHP] Re: XML to MS Word

2002-10-30 Thread Maxim Maletsky
> 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

[PHP] Re: XML to MS Word

2002-10-30 Thread Manuel Lemos
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

[PHP] Re: XML and XLS Sablotron

2002-10-30 Thread Daniele Baroncelli
> 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 > depe

[PHP] Re: XML and XLS Sablotron

2002-10-30 Thread J Wynia
Daniele Baroncelli wrote: Dear all, I am just approaching to XML and I would need some explanation, which most of you will probably consider very trivial. I have read about the XLS Sablotron functions, which are able to apply XLS stylesheets to an XML document. My question is: if my aim is to

RE: [PHP] Re: XML dom encode

2002-10-04 Thread Davíð Örn Jóhannsson
-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-

[PHP] Re: XML dom encode

2002-10-04 Thread Manuel Lemos
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: > > > - > - > sdfsdfsdf > ssdfsdf > > - > asdf > asdf > > - > sdfasdf > 涩 > > > > Any Ideas h

[PHP] Re: XML Parser

2002-10-01 Thread Manuel Lemos
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 w

[PHP] Re: xml encodeing with new_xmldoc("1.0");

2002-09-30 Thread Manuel Lemos
Hello, On 09/30/2002 09:54 AM, Föíö Öxî‰êójînyóon wrote: > I need to apply iso-8859-1 encodeing to the 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 don’t know I can reffrer to

[PHP] Re: XML vs Everything Else

2002-09-04 Thread eriol
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" <[EMA

[PHP] Re: XML vs Everything Else

2002-09-04 Thread Geoff Hankerson
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.x

[PHP] Re: XML vs Everything Else

2002-09-04 Thread Javier Montserat
>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 s

[PHP] Re: XML vs Everything Else

2002-09-03 Thread nicos
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 c

[PHP] Re: xml and a big script

2002-08-18 Thread Pafo
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

Re: [PHP] Re: xml and php

2002-08-15 Thread Analysis & Solutions
On Thu, Aug 15, 2002 at 11:28:51PM +0200, Pafo wrote: > > i cant get information from a deeper node... > > > 100 > > nisse > > Carefully examine the code at http://www.analysisandsolutions.com/code/phpxml.htm It provides you the basic concepts needed to parse any XML do

[PHP] Re: xml and php

2002-08-15 Thread Pafo
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: 100 nisse i want to get: and the dataelement after it,, but the thing i wrote dosent do that :/ any ideas? the program code is below as it is now

[PHP] Re: xml and php

2002-08-15 Thread Manuel Lemos
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 a

[PHP] Re: XML vs. PHP manual???

2002-07-24 Thread Scott Fletcher
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 assu

[PHP] Re: XML vs. PHP manual???

2002-07-23 Thread Richard Lynch
>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

[PHP] Re: xml and max size of xml doc

2002-07-13 Thread Richard Lynch
>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, a

[PHP] Re: XML-parser

2002-05-13 Thread Michael Virnstein
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.

[PHP] Re: XML creation / edit class?

2002-05-03 Thread Manuel Lemos
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 a

RE: [PHP] Re: XML closing elements called for

2002-02-06 Thread Martin Towell
002 10:50 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: XML closing elements called for 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 rather than ? > no, i don't

[PHP] Re: XML closing elements called for

2002-02-06 Thread Christian Stocker
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 rather than ? > no, i don't think so. It means exactly the same in the XML-sense, so why should there be a difference in reporting it..

[PHP] Re: XML / XSLT parsing using PHP

2002-01-24 Thread Peter Clarke
"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

[PHP] Re: XML Parsing Problem

2002-01-02 Thread bill
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 them,

[PHP] Re: Xml Parse Extended Chars

2001-12-06 Thread Peter Clarke
The only predefine entities in XML are < > & 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're usi

[PHP] Re: XML and PHP

2001-10-02 Thread Richard Lynch
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 - Orig

  1   2   >