![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 18.04.2005 Ostrzeżenie: (0%) ![]() ![]() |
witam forumowiczów
czy jest jakas funkcja zracająca ilosc węzłów w pliku xml np :
i teraz aby wyciągnąć ilość wystąpienia <wezel /> ( nie moge znaleźc takiej funkcji (IMG:http://forum.php.pl/style_emoticons/default/sad.gif) ) moze smiesznie porównam ale we flashu robie poprostu var ile = root.firstChild.childNodes.length i mam ilosc (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) , gdzie root jest obiektem XML pozdrawiam ljmedia |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 179 Pomógł: 0 Dołączył: 9.11.2004 Ostrzeżenie: (0%) ![]() ![]() |
Heh, sorry :] ja myślałem, że chodzi ci o JavaScript (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif) w php będzie podobnie:
Jakby co: http://www.php.net/manual/en/ref.dom.php -> tam wszystko jest (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Ten post edytował dasko 19.04.2005, 13:31:07 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 4.10.2025 - 16:20 |