Title: xml.php location
Hi,
Can anybody tell me how to use the xml.php file. Do I have to place it on a certain location, or do I have to include that in every file?
Thanks,
Oliver Talens
Abyss I.T. Solutions
Mathildastra
Title: xml.php location
Thanks,
Is
there a place where I can find some good examples? I am familliar with xml, but
now I need to know how to use it in phpxml.
Oliver.
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: dinsdag 18 september 2001
9:50To
Title: RE: [phpXML] Re: [phpXML] RE: [phpXML] Re: [phpXML] xml.php location
thanks,
but I know how to use XPath functions. I only don't know how to get the functions of xmlphp to work. For example the get_content functions returns nothing. The evaluate function works.
regards,
oliver
--
Title: RE: [phpXML] Re: [phpXML] how to get off the mailing list
How do I get attributes by the XPath function in phpxml?
I want to do something like in this code:
$results = $xml->evaluate("//users/user[@us_workspace=$workspace]/product[@us_prname=$product]");
//Display user in list
$attrib
Title: RE: [phpXML] Re: xml.php location
How do I save an altered XML document using PHPXML?
Thanks,
Oliver
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 18 september 2001 10:44
To: [EMAIL PROTECTED]
Subject: [phpXML] Re: xml.php location
En
Title: RE: [phpXML] Typo : Re: xml.php locat ion
How to add a node to an XML file. add_node does not seem to work.
Please advise.
Thanks,
Oliver Talens
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: donderdag 20 september 2001 10:46
To: [EMAIL PROTE
Title: RE: [phpXML] Re: xml.php location
Nigel,
It
seems to be great improvements. However, some code I implemented before doesn't
work anymore.
For
example the following code:
$results = $xml->evaluate("//users/user[@us_username=$username and
@us_password=$password and @us_workspace=$wo
Title: RE: [phpXML] Re: xml.php location
Sorry,
I just
found out. I need to use quotes now.
Thanks
anyway,
Oliver
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: dinsdag 25
september 2001 3:36To: [EMAIL PROTECTED]Subject:
[phpXML] Answers to
Title: RE: [phpXML] Re: xml.php location
I get
this message:
Fatal error: Call to
undefined function: _setcontent() in XPath.class.php on line
903
What to do?
Oliver
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: dinsdag 25
september 2001 3
Title: RE: [phpXML] Re: xml.php location
nope,
not a case sensitive issue.
Oliver
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: dinsdag 25
september 2001 12:46To: [EMAIL PROTECTED]Subject:
[phpXML] Re: [phpXML] RE: [phpXML] Answers to Olivers
Thanks,
That
fixed the problem.
Can
you give an example how to use addchild, because I don't get any
result.
Oliver
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: woensdag 26
september 2001 0:51To: [EMAIL PROTECTED]Subject:
[phpXML] phpxml
I
think there are many more places where you forgot to add the $this->
for example in the setAttribute function.
Oliver
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: woensdag 26
september 2001 0:51To: [EMAIL PROTECTED]Subject:
[phpXML] phpx
Title: RE: [phpXML] Bug in setAttributes
After using setAttributes ($xml->setAttributes("/users[1]/Nodename[1]",array("atr1","atr2"));) I get the following incorrect result:
Where do the 0 and 1 come from?
Oliver
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PR
Title: RE: [phpXML] Bug in setAttributes
Thanks
all folks,
Oliver
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: woensdag 26
september 2001 13:37To: [EMAIL PROTECTED]Subject:
[phpXML] Bug in setAttributes
After using setAttributes
Nigel,
What do you mean by this
correction (or I don't see the difference):
1997c2000< if (ereg('^\w*$',
$predicate)) {---> if (ereg('^\w*$',
$predicate)) {
Oliver
-Original Message-From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Sent: donderdag 27
septemb
Hi,
I think the removechild function
doesn't work.
THe XML
file:
users>
$xml
Can
anybody please help me with this?
I think the removechild function
doesn't work.
THe XML
file:
Title: RE: [phpXML] Bug in setAttributes
How do I sort in phpxml on a certain attribute?
Oliver Talens
Title: RE: [phpXML] Re: [phpXML] RE: [phpXML] Bug in setAttributes
Sam,
For example, I want to sort on pr_name. (And when I insert a new product, I want this new node to be inserted in the correct order)
Oliver Talens
-Original Message--
Title: RE: [phpXML] problem with whitespace
I know that there is no way of sorting in XPath, but it would realy be handy to have something for it like in XSL.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: dinsdag 2 oktober 2001 2:34
To: [EMAIL PROTECTED]
Title: RE: [phpXML] problem with whitespace
Is there a way to search nodes by case-insensitive attributes?
Thanks,
Oliver
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: dinsdag 2 oktober 2001 2:34
To: [EMAIL PROTECTED]
Subject: [phpXML] problem with w
21 matches
Mail list logo