Re: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Chris Kennon
ECTED] On Behalf Of Kent Humphrey Sent: Thursday, February 02, 2006 5:36 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] xpath / xpath4as2 beginners question Merrill, Jason wrote: It's well formed, sure, but I would do it like this instead - make heavy use of attributes -

RE: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Merrill, Jason
---Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Kent Humphrey >>Sent: Thursday, February 02, 2006 5:44 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] xpath / xpath4as2 beginners question >

Re: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Kent Humphrey
Merrill, Jason wrote: Xpath is quick enough to read it directly each time. It's what I like about it. Fantastic. Thanks for all the info. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/fl

RE: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Merrill, Jason
mphrey >>Sent: Thursday, February 02, 2006 5:36 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] xpath / xpath4as2 beginners question >> >>Merrill, Jason wrote: >>> It's well formed, sure, but I would do it like this instead - make heavy >&g

Re: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Kent Humphrey
Merrill, Jason wrote: It's well formed, sure, but I would do it like this instead - make heavy use of attributes - as much as possible for speed, relationships, and readability, something like this: Preferrably if you could find a way to work this, you could also maybe just do this to reduce r

RE: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Merrill, Jason
rdize. >>> >>> Jason Merrill | E-Learning Solutions | icfconsulting.com >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>>> -Original Message- >>>>> From: [EMAI

Re: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Chris Kennon
inal Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Chris Kennon Sent: Thursday, February 02, 2006 2:19 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] xpath / xpath4as2 beginners question Hi, After reading this article, I'm confused why client na

RE: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Merrill, Jason
.com >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Chris Kennon >>Sent: Thursday, February 02, 2006 2:19 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] xpath / xpath4as2 beginne

Re: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Chris Kennon
n Behalf Of Kent Humphrey Sent: Thursday, February 02, 2006 12:01 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] xpath / xpath4as2 beginners question On 2 Feb 2006, at 15:48, Merrill, Jason wrote: However, not a good idea to have a child node be the same name as the parent node (thoug

RE: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Merrill, Jason
iginal Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Kent Humphrey >>Sent: Thursday, February 02, 2006 12:01 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] xpath / xpath4as2 beginners question >> >>

Re: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Kent Humphrey
On 2 Feb 2006, at 15:48, Merrill, Jason wrote: However, not a good idea to have a child node be the same name as the parent node (though it's OK in the sense it that won't screw up Xpath). Would you believe my problem was I had product/products instead of product/products ?! Sheesh...

RE: [Flashcoders] xpath / xpath4as2 beginners question

2006-02-02 Thread Merrill, Jason
Try: XPath.selectNodes(this,"product/products/text()"); Instead. What does your XML look like? For the above to work, it would have to be: Hi there. However, not a good idea to have a child node be the same name as the parent node (though it's OK in the sen