Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
xml: pristupanje nodu po nazivu?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
nemogirl



Joined: 27 Oct 2004
Posts: 386
Location: istra

PostPosted: 09.11.2006 22:30    Post subject: xml: pristupanje nodu po nazivu? Add user to your forum ignore list Reply with quote

imam jedan flash di loadam xml bazu.
zanima me da li postoji mogucnost pristupanju nodu u bazi preko naziva tog noda?
znaci ne klasicno:

moj_xml.childNodes[1].childNodes[0].childNodes[0].nodeValue;

nego nekako putem naziva tog noda, npr. <naziv>Jure</naziv>

Question Idea
Back to top
View user's profile Send private message
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 09.11.2006 22:33    Post subject: Add user to your forum ignore list Reply with quote

pa mozes koristit nodeName
napravi forpetlju koji prolazi kroz sve i kada naidje na tvoj nodeName neka se zaustavi i napravi stogod...
Back to top
View user's profile Send private message Visit poster's website Twitter profile
nemogirl



Joined: 27 Oct 2004
Posts: 386
Location: istra

PostPosted: 09.11.2006 22:43    Post subject: Add user to your forum ignore list Reply with quote

da, mogu, ali ja uvijek trazim neki laksi nacin... prije nego se zapetljam u kod!

iskustvo mi je pokazalo da u 90% slucajeva idem kompliciranijim putem, tj. idem radit funkciju za nesto sto vec postoji. pa sad pusem i na hladno! Very Happy

thnx
Back to top
View user's profile Send private message
Ivan Podrug - e1



Joined: 15 Apr 2005
Posts: 316
Location: Solin

PostPosted: 10.11.2006 11:28    Post subject: Add user to your forum ignore list Reply with quote

potraži na www.sepiroth.it XML2OBJ klasu i prouči je malo. Po meni je to najbolje rješenje az patljancije sa XMLom.
Back to top
View user's profile Send private message
nemogirl



Joined: 27 Oct 2004
Posts: 386
Location: istra

PostPosted: 10.11.2006 16:25    Post subject: Add user to your forum ignore list Reply with quote

Ivan Podrug - e1 wrote:
potraži na www.sepiroth.it XML2OBJ klasu i prouči je malo. Po meni je to najbolje rješenje az patljancije sa XMLom.


link mi ne radi...?
Back to top
View user's profile Send private message
jojo



Joined: 27 Jan 2005
Posts: 1591
Location: insula aurea

PostPosted: 10.11.2006 16:30    Post subject: Add user to your forum ignore list Reply with quote

www.sephiroth.it
valjda je to to

_________________
deviant / malomorgen / videoholik / cimer fraj
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
BoldQ



Joined: 02 Sep 2005
Posts: 19
Location: zg

PostPosted: 10.11.2006 16:31    Post subject: Add user to your forum ignore list Reply with quote

hint
Back to top
View user's profile Send private message
nemogirl



Joined: 27 Oct 2004
Posts: 386
Location: istra

PostPosted: 10.11.2006 17:40    Post subject: Add user to your forum ignore list Reply with quote

BoldQ wrote:
hint


hvala za hint! ovaj xpath mi proradio ko podmazan! Very Happy
Back to top
View user's profile Send private message
BoldQ



Joined: 02 Sep 2005
Posts: 19
Location: zg

PostPosted: 10.11.2006 17:49    Post subject: Add user to your forum ignore list Reply with quote

nemogirl wrote:
BoldQ wrote:
hint


hvala za hint! ovaj xpath mi proradio ko podmazan! Very Happy


sad kad znam da radi mozda ga i ja probam Rolling Eyes
Back to top
View user's profile Send private message
nemogirl



Joined: 27 Oct 2004
Posts: 386
Location: istra

PostPosted: 10.11.2006 18:07    Post subject: Add user to your forum ignore list Reply with quote

Laughing
a znas sta, za sad mi radi okej. nadam se da nema neki bed povezan s tim... nisam isla u neko veliko proucavanje vec sam samo lupila kod koji mi treba i... proradilo!
a ja mislila ti vec naveliko to koristis Razz
Back to top
View user's profile Send private message
BoldQ



Joined: 02 Sep 2005
Posts: 19
Location: zg

PostPosted: 11.11.2006 12:03    Post subject: Add user to your forum ignore list Reply with quote

nemogirl wrote:
a ja mislila ti vec naveliko to koristis Razz


Nikad mi nije tako nesto do sada zatrebalo... ali sam saznao iz odredene literature da je ta classa stvarno mocna stvar ne samo za ovo sto tebi treba nego i za neke advanced stvari za koje bi se inace moglo potrositi sate i sate rada. Kad vec Flash nema native xpath classu pomaze i tuđa.
Back to top
View user's profile Send private message
BoldQ



Joined: 02 Sep 2005
Posts: 19
Location: zg

PostPosted: 09.01.2007 14:33    Post subject: Add user to your forum ignore list Reply with quote

BoldQ wrote:
Kad vec Flash nema native xpath classu pomaze i tuđa.

Ispravak, pogledajte mx.xpath package.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group