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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
:[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
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
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
,
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
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
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
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
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
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
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
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
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
[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
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.
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/
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
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]
41 matches
Mail list logo