Mailing List
Home
Forum Home
Flash Pro
Subjects
Subject: RE: Firework Effect
Web Service Results
Flash Interface with 10mb xml file
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash MX 2004 Sucks
Reading and displaying RSS feeds in Flash MX
Flash and QuickTime VR
Textfield prototype question
XML to Object help
Order of events per frame
MX2004 Dataset itemClassName
memory management removeMovieClip /
Event Dispatcher between classes
Help: MX 2004 How to script a print button to print the entire sli
ScrollPane component doesn 't auto update
setInterval bug identified and fixed
setInterval bug identified and fixed
Listener Object 's best practice
 
FOAF / XML Parser

FOAF / XML Parser

2004-03-16       - By Anatoly R.

 Back
Reply:     1     2     3     4     5     6     7     8     9     10  

Hello Ted,

Tuesday, March 16, 2004, 2:17:41 PM, you wrote:

TP> Namespace support is the most likely problem.

TP> Pathnames can contain ":" but you cannot access them without using [] or
TP> eval as follows:

TP> Xobj = MyXML.toObject()

TP> //this will fail as : is illegal in path
TP> Xobj.foaf:knows.foaf:Person.foaf:nick._value

TP> //this will work as strings are evaled at each object node
TP> Xobj['foaf:knows']['foaf:Person']['foaf:nick']._value

Thank you very much, it works with this solution. I thought I was
doing it that way.


--
Lynx,
<lj user="emulynx">           mailto:emulynx@(protected)
----
Man is ready to die for an idea,
       provided that idea is not quite clear to him.

                             Eldridge, Paul


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107122
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)