Garland foster ([EMAIL PROTECTED]) wrote:
> If this gets attention I'd add another request:
> Please make the nodeset an array of REFERENCES to dom nodes, so we
> wan use Xpath to locate a node and then we can change it using DOM
> functions.
> It will make a sensible difference to implement, for
XPath is crippled without the ability to do relative xpath queries.
The interface is already provided by the libxml2 engine, it is just
a matter of adding the option to xpath_eval(). If you are working
recursively in an xml document (which you are always doing) and you
need to run an xpath query
Months are a rather significant exception to date differences than
any other unit of time. This is why mysql made a function
specifically for this purpose. I recently had to use it and noticed
the number of users on php-general asking this question, so I wanted
to post true implementation of it
Christian Stocker ([EMAIL PROTECTED]) wrote:
> Hi
>
> Some maybe already recognized it, for the others: There's DTD-Validation
> in domxml available now.
Excellent! Can't wait to try it out.
However, I still have one very small request that maybe you can add
while you are in the xmldoc funct
If you were to run xpath_eval() on a xpath query that that doesn't
exist in a document, like /foo/foo/foo on a document that is soley
I think that it should still return an xpathcontext object,
just with an empty nodeset, just as it would do if you run /doc/*
...there is no way to handle the resu
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> Dan Allen Wrote:
> > Tomas V.V.Cox ([EMAIL PROTECTED]) wrote:
> >
> >> "Stig S. Bakken" wrote:
> >> >
> >> > You tell me :) We currently have no nice way of bootstrapping PEAR
>
I personally thing there are FAR more important things to work on in
this extension before we even address this issue. For instance:
- relative xpath queries #1!!
- namespace support in xpath (meaning auto register from the xml
context)
- fixing get_element_by_id
to just name a few.
Dan
Rob
Tomas V.V.Cox ([EMAIL PROTECTED]) wrote:
> "Stig S. Bakken" wrote:
> >
> > You tell me :) We currently have no nice way of bootstrapping PEAR on
> > Windows like we have on Unix (with "make install-pear-installer" and
> > go-pear). What would be the most sensible way of giving Windows users
>
Dan Allen ([EMAIL PROTECTED]) wrote:
> I was testing out this function today (xpath_register_ns) and I
> found a possible problem in its implementation. If you use several
> namespaces in you document and then define a last one to be the
> default namespace, how are you supposed
I was testing out this function today (xpath_register_ns) and I
found a possible problem in its implementation. If you use several
namespaces in you document and then define a last one to be the
default namespace, how are you supposed to register this with the
php function. Example:
http://w
Excellent, looks like this bug report is getting some limelight.
While we are on the topic, I just wanted to put in a small plea. I
realize that we want to map close the W3C, but I have a small
request. Don't deprecate get_content(). I realize it is not a well
know W3C standard, but there is a
Recently the function domxml_get_element_by_id was changed from
using an xpath query //*[@ID = '%s'] to actually using the ID hash
from the DTD, which makes perfect sense. But for the following
string:
]>
foo
foo
hey there
I get for $xml->ids() a list nodeset of 2 nodes, but
We welcome you to a discussion already in progress. Dan Allen
(that's me) brought up the issue that in the domxml extension, the
xpath_eval function does not allow you to begin the query relative
to a given node, as is possible in both the libxml2 libraries and as
we are so familiar wit
Honestly, I have to keep fighting this because I think that the
points you guys are making are proving the opposite point. If I am
a web-designer and I want to change the look of the page, I am
presented with a template which is using a certain seperator. Now,
as the designer I want to change th
:25, Dan Allen wrote:
> > > The require_once is wrong in both IT.php and ITX.php
> > Yes, I had mentioned the other in an eariler e-mail. Okay, I am way
> > confused. I thought that PEAR was using a flat directory structure,
> > but everyone keeps saying how all
> The require_once is wrong in both IT.php and ITX.php
Yes, I had mentioned the other in an eariler e-mail. Okay, I am way
confused. I thought that PEAR was using a flat directory structure,
but everyone keeps saying how all the '_' should be '/' when you
install it. What is it, flat or deep?..
find it in your
programming hearts to allow remove_attribute() to make it into 4_2_0.
Thanks,
Dan Allen
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
17 matches
Mail list logo