Re: [Flashcoders] xpath xml strangeness

2006-05-15 Thread Kent Humphrey

I'm using SEPY on OSX, good enough for you? ;

On 11 May 2006, at 14:06, Johannes Nel wrote:


get a proper as editor i would say


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] xpath xml strangeness

2006-05-15 Thread Johannes Nel

then obvisouly not. sepy is not a bad editor, but it should surely point out
things like that. fdt is the way :)

On 5/15/06, Kent Humphrey [EMAIL PROTECTED] wrote:


I'm using SEPY on OSX, good enough for you? ;

On 11 May 2006, at 14:06, Johannes Nel wrote:

 get a proper as editor i would say

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] xpath xml strangeness

2006-05-15 Thread Kent Humphrey

fdt?

Can it really notice the wrong case of a 3rd party class/function?

On 15 May 2006, at 13:10, Johannes Nel wrote:

then obvisouly not. sepy is not a bad editor, but it should surely  
point out

things like that. fdt is the way :)


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] xpath xml strangeness

2006-05-15 Thread Johannes Nel

yup. if its in the class path it picks it up (maybe sepy has that ability as
well, you just need to configure the classpaths).
we even use fdt for our flex 1.5 devlopment, it really is the sheet.

On 5/15/06, Kent Humphrey [EMAIL PROTECTED] wrote:


fdt?

Can it really notice the wrong case of a 3rd party class/function?

On 15 May 2006, at 13:10, Johannes Nel wrote:

 then obvisouly not. sepy is not a bad editor, but it should surely
 point out
 things like that. fdt is the way :)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] xpath xml strangeness

2006-05-11 Thread Kent Humphrey

ok, been banging my head against a wall for ages on this one.

These lines of code work:

menu_root = XPath.selectNodes(this, root/menu/item/@name);
trace('menu_root: ' + menu_root);

These don't:

perm_items = Xpath.selectNodes(this, root/perm/item/@name);
trace('perm_items: ' + perm_items);

The trace returns undefined.

Here is  the XML, trimmed down to the vitals:

root
menu
item name=Profiles colour=0x73556b
	item name=The Salon type=content colour=0x7797ac  
height=400 filename=profiles-the-salon/
			item name=Meet Michael Van Clarke type=content  
colour=0x7797ac height=400 filename=profiles-mvc/

item name=Team Profiles /
item name=Testimonials type=content height=400  
colour=0x7797ac /

/item
item name=Book Online colour=0x73
item name=Booking Form /
/item
etc etc
/menu
perm
item name=Special Offers /
item name=Book an Appointment /
item name=Register for Newsletter /
/perm
/root



Anyone have any ideas what the problem is?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] xpath xml strangeness

2006-05-11 Thread John Mark Hawley
perm/item has no children with 'name' attributes. It has no children at 
all...


Kent Humphrey wrote:

ok, been banging my head against a wall for ages on this one.

These lines of code work:

menu_root = XPath.selectNodes(this, root/menu/item/@name);
trace('menu_root: ' + menu_root);

These don't:

perm_items = Xpath.selectNodes(this, root/perm/item/@name);
trace('perm_items: ' + perm_items);

The trace returns undefined.

Here is  the XML, trimmed down to the vitals:

root
menu
item name=Profiles colour=0x73556b
item name=The Salon type=content colour=0x7797ac 
height=400 filename=profiles-the-salon/
item name=Meet Michael Van Clarke type=content 
colour=0x7797ac height=400 filename=profiles-mvc/

item name=Team Profiles /
item name=Testimonials type=content height=400 
colour=0x7797ac /

/item
item name=Book Online colour=0x73
item name=Booking Form /
/item
etc etc
/menu
perm
item name=Special Offers /
item name=Book an Appointment /
item name=Register for Newsletter /
/perm
/root



Anyone have any ideas what the problem is?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] xpath xml strangeness

2006-05-11 Thread Serge Jespers

Could it be just a plain old typo?
XPath is with capital X and capital P.

In the perm_items line you wrote Xpath

Serge




These lines of code work:

menu_root = XPath.selectNodes(this, root/menu/item/@name);
trace('menu_root: ' + menu_root);

These don't:

perm_items = Xpath.selectNodes(this, root/perm/item/@name);
trace('perm_items: ' + perm_items);


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] xpath xml strangeness

2006-05-11 Thread Kent Humphrey

Unbelievable!

Thanks a lot Serge, you're a lifesaver :

On 11 May 2006, at 13:50, Serge Jespers wrote:


Could it be just a plain old typo?
XPath is with capital X and capital P.

In the perm_items line you wrote Xpath

Serge




These lines of code work:

menu_root = XPath.selectNodes(this, root/menu/item/@name);
trace('menu_root: ' + menu_root);

These don't:

perm_items = Xpath.selectNodes(this, root/perm/item/@name);
trace('perm_items: ' + perm_items);


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] xpath xml strangeness

2006-05-11 Thread Serge Jespers
You're welcome... I mixup capitals all the time so it was the first  
thing I looked at ;-)


Serge


Unbelievable!

Thanks a lot Serge, you're a lifesaver :


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] xpath xml strangeness

2006-05-11 Thread Johannes Nel

get a proper as editor i would say

On 5/11/06, Serge Jespers [EMAIL PROTECTED] wrote:


You're welcome... I mixup capitals all the time so it was the first
thing I looked at ;-)

Serge

 Unbelievable!

 Thanks a lot Serge, you're a lifesaver :

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
j:pn
http://www.lennel.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com