Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14213

Re: Extracting values from xml file using php/xpath/namespace/simplexml/

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: Extracting values from xml file using php/xpath/namespace/simplexml/
Date Fri, 05 Sep 2014 04:08:09 +0200
Organization solani.org
Lines 58
Message-ID <lub5tu$k7f$3@solani.org> (permalink)
References <a8eb7607-8c39-4062-917c-d815b223a021@googlegroups.com> <lsfp0k$cpj$1@dont-email.me> <b2d1ddf1-3b88-4f33-9336-d5f77ea186f4@googlegroups.com> <1443898.x2o4gcXilq@PointedEars.de> <lsqvb1$rpq$1@dont-email.me> <13165688.lB41CWTE6m@PointedEars.de> <lsrc1c$enm$1@dont-email.me> <35250817.Fx3NucNZ4e@PointedEars.de> <lu8ao0$ha6$1@dont-email.me> <2974602.zgg0cvazeg@PointedEars.de> <lub0uq$8cj$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace solani.org 1409882878 20719 eJwFwQkBACAIA8BKPjA0zhjYP4J3vjGhMDjMn7+JXrsoxL27qV51hndlDFILmfaYgnoW8/ADMvUSnQ== (5 Sep 2014 02:07:58 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 5 Sep 2014 02:07:58 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
X-User-ID eJwVwokNwDAIBLCVAhyQjMO7/whVZasYWTlMDbq/IOZkWmAOUnGx7UJozpgs8LSPeJ14KHwbJhFM
In-Reply-To <lub0uq$8cj$1@dont-email.me>
Cancel-Lock sha1:Ltd0R2g1HDBGKP99mrBxT9b0UN4=
X-NNTP-Posting-Host eJwNytEBACAEBcCVCE/Gidh/hPq+MwGjXGFQGxuS3hA+wd2VueaTKgq4ZdeX5I+ETRHahPMAFBgQeA==
Xref csiph.com comp.lang.php:14213

Show key headers only | View raw


Jerry Stuckle wrote:

> On 9/4/2014 5:21 PM, Thomas 'Pointed Head' Lahn wrote:
>> Jerry Stuckle wrote:

> His code will detect the change in the markup.  Yours will not, because
> you are not using the full XPath.  And once again - yours can fail if
> the XML happens to have multiple (but different) XPaths with the same
> identifiers.  The Ops will not.

"Mutitple (but different) XPaths"?  Do you mean multiple (but different)
XPath expressions?

>>> That is generally NOT the case in XML - which is why each element has an
>>> identity as well as a value.
>>
>> Nonsense.
>>  
> Now I KNOW you don't have any idea how XML works!

You have claimed that "each XML element has a value", what is utter
nonsense.

>> I am not.  I wrote “full potential of XPath”, not “full path”.
>> Big difference.
> 
> And exactly what is the difference ACCORDING TO YOUR DEFINITION?  There
> is no official definition of "full potential of XPath".

Ouch!

> You haven't seen the entire code.  They can easily detect if XPath
> changes, as I indicated above.

"XPath changes"?

> As I indicated before - different XPaths, but same identity.  Once again
> you have proven you know nothing about XML.

"Different XPaths"?

> And no, I'm not always right. 

Exaggeration!

> But when it comes to you, I am NEVER WRONG.

Fallacy!

All in all, I have to admit that your creator is brilliant.  I never
have met a bot that fooled me so long in thinking it's a human.

*plonk*

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Extracting values from  xml file using php/xpath/namespace/simplexml/ ofuuzo@gmail.com - 2014-08-13 04:02 -0700
  Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-13 09:25 -0400
    Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ ofuuzo@gmail.com - 2014-08-14 03:29 -0700
      Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-14 10:06 -0400
      Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-17 19:43 +0200
        Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-17 15:21 -0400
          Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-08-17 23:41 +0200
            Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-08-17 18:57 -0400
              Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-09-03 23:10 +0200
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-03 20:11 -0400
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-09-04 02:42 +0200
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-03 21:57 -0400
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-09-04 23:21 +0200
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-04 20:43 -0400
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-09-05 04:08 +0200
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Denis McMahon <denismfmcmahon@gmail.com> - 2014-09-05 02:50 +0000
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-05 08:24 -0400
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-09-07 11:57 +0200
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-07 09:54 -0400
                Re: Extracting values from  xml file using php/xpath/namespace/simplexml/ "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2014-09-07 23:53 +0200

csiph-web