Try it with just one / at the start of the xpath.
/anbieter/immobilie/...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello nathan,
I am unsing simplexml as it looks really simple :-) However, I could
still not figure out how to adress data inside tags with attributes. For
example:
anhang location=INTERN gruppe=TITELBILD
databla blub/data
$xml-anhang[intern][titelbild]-data will not work.
Thank
On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern merli...@fastmail.fmwrote:
Hello nathan,
I am unsing simplexml as it looks really simple :-) However, I could still
not figure out how to adress data inside tags with attributes. For example:
anhang location=INTERN gruppe=TITELBILD
Nathan Nobbe wrote:
On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern merli...@fastmail.fmwrote:
Hello nathan,
I am unsing simplexml as it looks really simple :-) However, I could still
not figure out how to adress data inside tags with attributes. For example:
anhang location=INTERN
On Thu, Jan 8, 2009 at 4:38 PM, Nathan Rixham nrix...@gmail.com wrote:
Nathan Nobbe wrote:
On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern merli...@fastmail.fm
wrote:
Hello nathan,
I am unsing simplexml as it looks really simple :-) However, I could
still
not figure out how to
Nathan Nobbe wrote:
On Thu, Jan 8, 2009 at 4:38 PM, Nathan Rixham nrix...@gmail.com
mailto:nrix...@gmail.com wrote:
Nathan Nobbe wrote:
On Thu, Jan 8, 2009 at 4:02 PM, Merlin Morgenstern
merli...@fastmail.fm mailto:merli...@fastmail.fmwrote:
Hello nathan,
ok... it seems that I am doing something fundamentally wrong. I get no
output at all with this:
$xmlStr = file_get_contents($filename);
$xmlelement = new SimpleXMLElement($xmlStr);
echo
'$xmlelement-xpath(//anbieter/immobilie/anhaenge/anha...@location='INTERN'
and
Merlin Morgenstern wrote:
ok... it seems that I am doing something fundamentally wrong. I get no
output at all with this:
$xmlStr = file_get_contents($filename);
$xmlelement = new SimpleXMLElement($xmlStr);
echo
'$xmlelement-xpath(//anbieter/immobilie/anhaenge/anha...@location='INTERN'
and
Merlin Morgenstern wrote:
ok... it seems that I am doing something fundamentally wrong. I get no
output at all with this:
$xmlStr = file_get_contents($filename);
$xmlelement = new SimpleXMLElement($xmlStr);
echo
'$xmlelement-xpath(//anbieter/immobilie/anhaenge/anha...@location='INTERN'
and
On Wed, Jan 7, 2009 at 3:10 PM, Merlin Morgenstern merli...@fastmail.fm wrote:
Hi there,
I am justing walking my first steps on XML and PHP. As I learned from a
tutorial adressing is very simple:
echo $xml-anbieter-immobilie-preise-kaufpreis;
I simply just can't figure out how to adress
Hi there,
I am justing walking my first steps on XML and PHP. As I learned from a
tutorial adressing is very simple:
echo $xml-anbieter-immobilie-preise-kaufpreis;
I simply just can't figure out how to adress this structure:
anhang location=INTERN gruppe=TITELBILD
This does not work:
echo
On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern merli...@fastmail.fmwrote:
Hi there,
I am justing walking my first steps on XML and PHP. As I learned from a
tutorial adressing is very simple:
echo $xml-anbieter-immobilie-preise-kaufpreis;
this is meaningless unless we know which xml
Hello Nathan,
I upgraded to PHP 5, so I am using nativ support.
Best regards, Merlin
Nathan Nobbe schrieb:
On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern
merli...@fastmail.fm mailto:merli...@fastmail.fm wrote:
Hi there,
I am justing walking my first steps on XML and PHP. As I
On Wed, Jan 7, 2009 at 1:42 PM, Merlin Morgenstern merli...@fastmail.fmwrote:
Hello Nathan,
I upgraded to PHP 5, so I am using nativ support.
Best regards, Merlin
please keep replies on-list so others may benefit from the archives.
OK, native support; so in php5 you can use DOM or
Merlin Morgenstern wrote:
Hello Nathan,
I upgraded to PHP 5, so I am using nativ support.
Best regards, Merlin
Nathan Nobbe schrieb:
On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern
merli...@fastmail.fm mailto:merli...@fastmail.fm wrote:
Hi there,
I am justing walking my
Jim Lucas wrote:
Merlin Morgenstern wrote:
Hello Nathan,
I upgraded to PHP 5, so I am using nativ support.
Best regards, Merlin
Nathan Nobbe schrieb:
On Wed, Jan 7, 2009 at 1:10 PM, Merlin Morgenstern
merli...@fastmail.fm mailto:merli...@fastmail.fm wrote:
Hi there,
I am
16 matches
Mail list logo