[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Christian Stocker
On 14.12.2004 6:45 Uhr, Dan Phiffer wrote: Adam Maccabee Trachtenberg wrote: This is an XPath FAQ. Without a ns prefix, XPath doesn't choose elements living in the default ns, but ones living in no namespace. Are there any good references you might point me to? I'm pretty new to this stuff and

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Adam Maccabee Trachtenberg
On Mon, 13 Dec 2004, Dan Phiffer wrote: I guess what I would expect to work is to allow for blank values as the first argument to registerNamespace, representing the default namespace, but that causes the queries to always return no matches. Is there something I'm missing with this? This is

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Dan Phiffer
Adam Maccabee Trachtenberg wrote: This is an XPath FAQ. Without a ns prefix, XPath doesn't choose elements living in the default ns, but ones living in no namespace. Are there any good references you might point me to? I'm pretty new to this stuff and beyond my in a Nutshell book don't have many

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Adam Maccabee Trachtenberg
On Mon, 13 Dec 2004, Dan Phiffer wrote: Adam Maccabee Trachtenberg wrote: This is an XPath FAQ. Without a ns prefix, XPath doesn't choose elements living in the default ns, but ones living in no namespace. Are there any good references you might point me to? I'm pretty new to this stuff

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-22 Thread Rob Richards
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 ?

[PHP] Re: [PHP-XML-DEV] PHP5: ext/dom: Namespace Prefix unexpected behavior

2004-02-18 Thread Rob Richards
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

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-17 Thread Vivian Steller
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

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Vivian Steller
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

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Rob Richards
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

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Christian Stocker
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

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-16 Thread Rob Richards
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

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-15 Thread Christian Stocker
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

[PHP] Re: PHP, XML, UTF-8

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

[PHP] Re: PHP, XML, UTF-8

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

[PHP] Re: PHP XML Reference

2003-03-14 Thread Alexandru COSTIN
Hello, You will also might want to try the free Krysalis platform - it's designed from scratch for XML/XSL content publishing (a la Cocoon) and you will find it very useful for your goals. http://www.interakt.ro/products/Krysalis/ Alexnadru -- Alexandru COSTIN

[PHP] Re: PHP XML Reference

2003-03-14 Thread David Eisenhart
check out the book XML and PHP by Vikram Vaswani, News Riders; a well written and concise treatment of xml and php. David Eisenhart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Php +Xml?

2003-03-09 Thread Alexandru COSTIN
Hello, DomXML is a large improvement over Sablot. If you take a close look at XML, you'll see that XML is used effectively with some technologies : SAX (Simple Api for XML), DOM (Document Object Modelling), XSL (Extensible styleshhet language). The DOMxml php extension

Re: [PHP] Re: Php +Xml?

2003-03-09 Thread Alexandru COSTIN
Hello James, Your vision is very similar to ours. You should take the Krysalis platform (LGPL) and give it a try. It's a mature solution (similar to cocoon) for XML/XSL publishing, and allows you to define the way requests are served, define the way dynamic XML trees are created and then define

[PHP] Re: Php +Xml?

2003-03-08 Thread James
There is nothing to install. By default php usually comes with XML parser methods - however if you want to invest time in running XSLT/XPATH styles against XML you need to install server side software such as Sablotron or Saxon. We run Sablotron and it's very good. We've also invested in Stylus

RE: [PHP] Re: Php +Xml?

2003-03-08 Thread daniel
wot exactly does the xml parse do over sablot ? and what benfit do u get xml'ing an entire site , where some processes which come easy to do in php are insanely tedious to replicate in xsl :| = Original Message From James [EMAIL PROTECTED] = There is nothing to install. By default php

[PHP] Re: Php +Xml?

2003-03-08 Thread Alexandru COSTIN
Hello, Hello people, I want to start using Xml with php. How do I install xml on Apache with Php? I am running redhat 7.2,Apache 1.3.12 and php latest version. If you want to use SAX, you should already have it installed if you have compiled PHP with '--with-xml'. (BTW, have you

Re: [PHP] Re: Php +Xml?

2003-03-08 Thread James
There are distinct differences to parsing XML into your program and producing XML from your program. We use the following method's which are enabling us to create scalable systems with independent design from code. One of the clear reasons for using XML/XSLT is the seperation of data and design.

RE: [PHP] Re: Php +Xml?

2003-03-08 Thread daniel
what is domxml ? is it similar to sablot ? = Original Message From Alexandru COSTIN [EMAIL PROTECTED] = Hello, Hello people, I want to start using Xml with php. How do I install xml on Apache with Php? I am running redhat 7.2,Apache 1.3.12 and php latest version. If you want

RE: [PHP] Re: Php +Xml?

2003-03-08 Thread Khalid El-Kary
try this parser, it would be useful. http://creaturesx.ma.cx/kxparse/ Regards, Khalid _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List

RE: [PHP] Re: PHP XML

2002-10-16 Thread Simon Taylor
:[EMAIL PROTECTED]] Sent: 15 October 2002 18:50 To: [EMAIL PROTECTED] Subject: [PHP] Re: PHP XML Hello, Most of what you are looking for is already implemented and fully working in our Krysalis Professional platform. We help you create dynamic XML files, we provide you reusable taglibs to avoid

RE: [PHP] Re: PHP XML

2002-10-16 Thread Joshua Alexander
To me this is a lot of work and processing for limited benefits, a simple db abstraction layer provides you with a divide between you db queries and the presentation of your site, what benefits do you see in doing this? I have to agree with Simon. I am at a loss when it comes to seeing any

RE: [PHP] Re: PHP XML

2002-10-16 Thread José León Serna
El mié, 16-10-2002 a las 10:22, Joshua Alexander escribió: I have to agree with Simon. I am at a loss when it comes to seeing any benefit to XML that doesn't involve data exchange between at least two parties. I've spent the last two years building database-backed websites, so I'm

RE: [PHP] Re: PHP XML

2002-10-16 Thread Simon Taylor
, but until then I will save myself from the extra work. Cheers Simon -Original Message- From: José León Serna [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:40 To: Joshua Alexander Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: PHP XML El mié, 16-10-2002 a las 10:22, Joshua Alexander

RE: [PHP] Re: PHP XML

2002-10-16 Thread José León Serna
El mié, 16-10-2002 a las 11:02, Simon Taylor escribió: Sure in this context I agree with you, but how often do you have a website which needs to publish in many different formats? I have designed and built websites for a while and have never come across such an application. But if I were ever

RE: [PHP] Re: PHP XML

2002-10-16 Thread Joshua Alexander
I still wouldn't use XML for this. I mean, all the articles are in the database, and I'm already using PHP to pull them out and format them into html, right? I can just as easily use PHP to put them into all those other formats. So again, why waste time with XML unless I need to feed these

RE: [PHP] Re: PHP XML

2002-10-16 Thread José León Serna
El mié, 16-10-2002 a las 11:13, Joshua Alexander escribió: I still wouldn't use XML for this. I mean, all the articles are in the database, and I'm already using PHP to pull them out and format them into html, right? I can just as easily use PHP to put them into all those other formats. In

[Fwd: Re: [PHP] Re: PHP XML]

2002-10-16 Thread Tariq Murtaza
Can u elaborate more about ISO standards. i mean, if u could explain more about using Xml in DMS with ISO standards with small examples Best ragards José León Serna wrote: El mié, 16-10-2002 a las 11:02, Simon Taylor escribió: Sure in this context I agree with you, but how often do you have

Re: [Fwd: Re: [PHP] Re: PHP XML]

2002-10-16 Thread José León Serna
El mar, 15-10-2002 a las 23:16, Tariq Murtaza escribió: Can u elaborate more about ISO standards. i mean, if u could explain more about using Xml in DMS with ISO standards with small examples AFAIK there is no especific request to use XML to be compliant with ISO standard, the ISO specifies

Re: [PHP] Re: PHP XML

2002-10-16 Thread Stas Maximov
The benefit would be in dividing business logic from presentation layer. Stas. - Original Message - From: Simon Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 7:35 AM Subject: RE: [PHP] Re: PHP XML To me this is a lot of work and processing

Re: [PHP] Re: PHP XML

2002-10-16 Thread Geoff Hankerson
Ultimately it's about flexibility and seperating content from presentation.Even if you don't have sites that need to be output into multiple formats you will almost cetainly need to redesign some or all of the presentation at some point even if it is only in html. Have you ever had your

Re: [PHP] Re: PHP XML

2002-10-16 Thread Adrian Slusarczyk
y invest the effort that is required, but until then I will save myself from the extra work. Cheers Simon -Original Message- From: José León Serna [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:40 To: Joshua Alexander Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re: PHP XML El mié, 16-10-20

RE: [PHP] Re: PHP XML

2002-10-16 Thread .: B i g D o g :.
[mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 18:50 To: [EMAIL PROTECTED] Subject: [PHP] Re: PHP XML Hello, Most of what you are looking for is already implemented and fully working in our Krysalis Professional platform. We help you create dynamic XML files, we provide you reusable

[PHP] Re: PHP XML

2002-10-15 Thread Alexandru COSTIN
Hello, Most of what you are looking for is already implemented and fully working in our Krysalis Professional platform. We help you create dynamic XML files, we provide you reusable taglibs to avoid rewriting similar code multiple times, wr provide various levels of caching and many more.

[PHP] Re: PHP: XML/XSL

2002-08-29 Thread Alexandru COSTIN
Hello For painless XML/XSL transformation on PHP, you should check Krysalis, the XML/XSL development framework. We have a lot of nice features packed in, like dynamic XML, multiple XSL transformations in a pipeline, etc. http://www.interakt.ro/products/Krysalis/

[PHP] Re: [php-xml] Http Request

2002-01-08 Thread Manuel Lemos
Hello, Sandeep Murphy wrote: Hi, Can anyone tellme how I can do a http request to a servlet from a PHP?? I mean, I have a username and password which I want to send in a string(variable) to a Servlet which authentifies it and responses back in XML format... any suggestions?? This

[PHP] Re: PHP XML

2001-12-19 Thread Martin Hughes
Sorry - I should perhaps say that I'm only intending to code this site for IE(5/6) - there are too many issues with NetS - I **KNOW** that that's bad and lazy, but that's the way it's gonna be :o) M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]