Re: [Flashcoders] Documentation of the XFactor's XPath class?

2006-06-28 Thread Alison Gurry



please take me off mailing list



ALISON GURRY


From: Doug Tangren [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders]  Documentation of the XFactor's XPath class?
Date: Tue, 27 Jun 2006 22:34:45 -0400
While recently poking around for information on using xfactorstudio's xpath 
I came across this thread. If possible can you share the source for this 
utility class you wrote? These would be very helpful. Thanks.


Doug Tangren
[EMAIL PROTECTED]



On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote:


I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them. Comes with a little bit of example
code commented in the class. Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes, which
can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values. It will decode character entities in XML values to real
representations. For example, it converts amp; to .

Usage Example:

//initialize the object:
var xd:XData = new XData(myXMLObject);

//get value from an attribute:
var myAttributeString:String = xd.getString(menu/items/item[3] @width);


//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text());

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome);

//get a CDATA string:
var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ content,
true);


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions







-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 27, 2006 3:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders]  Documentation of the XFactor's XPath class?

Does anyone know where I can find any form of documentation how to use
the XPath classes for ActionScript 2 writtenb y XFactorStudios?

Thanks!

Weyert
___
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


___
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


_
Meet Sexy Singles today @ Lavalife - Click here 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22740_t=751140432_r=emailtagline_meetsexy_june_m=EXT


___
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] Documentation of the XFactor's XPath class?

2006-06-28 Thread Nick Weekes

This is at the footer of every flashcoders email:

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




Alison Gurry wrote:



please take me off mailing list



ALISON GURRY


From: Doug Tangren [EMAIL PROTECTED]
Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders]  Documentation of the XFactor's XPath class?
Date: Tue, 27 Jun 2006 22:34:45 -0400
While recently poking around for information on using xfactorstudio's 
xpath I came across this thread. If possible can you share the source 
for this utility class you wrote? These would be very helpful. Thanks.


Doug Tangren
[EMAIL PROTECTED]



On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote:


I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them. Comes with a little bit of example
code commented in the class. Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes, 
which

can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values. It will decode character entities in XML values to real
representations. For example, it converts amp; to .

Usage Example:

//initialize the object:
var xd:XData = new XData(myXMLObject);

//get value from an attribute:
var myAttributeString:String = xd.getString(menu/items/item[3] 
@width);



//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text());

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome);

//get a CDATA string:
var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ 
content,

true);


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions







-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 27, 2006 3:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders]  Documentation of the XFactor's XPath class?

Does anyone know where I can find any form of documentation how to 
use

the XPath classes for ActionScript 2 writtenb y XFactorStudios?

Thanks!

Weyert
___
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


___
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


_
Meet Sexy Singles today @ Lavalife - Click here 
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D22740_t=751140432_r=emailtagline_meetsexy_june_m=EXT 



___
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: Re: [Flashcoders] Documentation of the XFactor's XPath, class?

2006-06-28 Thread henrik weber (freemind-design)

hi jason,

the issues you mentioned about the lack of usability regarding the 
(absolutely

brilliant) XPath-Class really sound familiar... :-[
would you mind to share your solution with the list? especially the 
mentioned

CDATA-stuff sounds promising...

tia!

henrik

--
Henrik Weber
Certified Flash Developer
__freemind-design__
http://www.freemind-design.de

flashcoders@chattyfig.figleaf.com wrote:

Date: Tue, 27 Jun 2006 22:34:45 -0400
From: Doug Tangren [EMAIL PROTECTED]
Subject: Re: [Flashcoders]  Documentation of the XFactor's XPath
class?
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

While recently poking around for information on using xfactorstudio's  
xpath I came across this thread.  If possible can you share the  
source for this utility class you wrote?  These would be very  
helpful.  Thanks.


Doug Tangren
[EMAIL PROTECTED]



On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote:

  

I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them.  Comes with a little bit of example
code commented in the class.  Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes,  
which

can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values.  It will decode character entities in XML values to real
representations. For example, it converts amp; to .

Usage Example:

//initialize the object:
var xd:XData = new XData(myXMLObject);

 //get value from an attribute:
var myAttributeString:String = xd.getString(menu/items/item[3] 
@width);



//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text());

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome);

//get a CDATA string:
var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ 
content,

true);


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions




--
__freemind design__
Henrik Weber MediaDesign
Certified Flash Developer

e-mail:   [EMAIL PROTECTED]
home: www.freemind-design.de
fon.: [+49] (0)6838-986851
mobile:   [+49] (0)160-7107889

headerShortcuts:
a=action; d=decision; q=question; i=information

___
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: Re: [Flashcoders] Documentation of the XFactor's XPath, class?

2006-06-28 Thread henrik weber (freemind-design)

hi jason,

the issues you mentioned about the lack of usability regarding the 
(absolutely brilliant) XPath-Class really sound familiar... :-[
would you mind to share your solution with the list? especially the 
mentioned CDATA-stuff sounds promising...


tia!

henrik

--
Henrik Weber
Certified Flash Developer
__freemind-design__
http://www.freemind-design.de

flashcoders@chattyfig.figleaf.com wrote:

Date: Tue, 27 Jun 2006 22:34:45 -0400
From: Doug Tangren [EMAIL PROTECTED]
Subject: Re: [Flashcoders]  Documentation of the XFactor's XPath
class?
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

While recently poking around for information on using xfactorstudio's  
xpath I came across this thread.  If possible can you share the  
source for this utility class you wrote?  These would be very  
helpful.  Thanks.


Doug Tangren
[EMAIL PROTECTED]



On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote:

  

I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them.  Comes with a little bit of example
code commented in the class.  Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes,  
which

can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values.  It will decode character entities in XML values to real
representations. For example, it converts amp; to .

Usage Example:

//initialize the object:
var xd:XData = new XData(myXMLObject);

 //get value from an attribute:
var myAttributeString:String = xd.getString(menu/items/item[3] 
@width);



//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text());

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome);

//get a CDATA string:
var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ 
content,

true);


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions


___
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: Re: [Flashcoders] Documentation of the XFactor's XPath, class?

2006-06-28 Thread henrik weber (freemind-design)

hi jason,

the issues you mentioned about the lack of usability regarding the 
(absolutely brilliant) XPath-Class really sound familiar... :-[
would you mind to share your solution with the list? especially the 
mentioned CDATA-stuff sounds promising...


tia!

henrik

--
Henrik Weber
Certified Flash Developer
__freemind-design__
http://www.freemind-design.de

flashcoders@chattyfig.figleaf.com wrote:

Date: Tue, 27 Jun 2006 22:34:45 -0400
From: Doug Tangren [EMAIL PROTECTED]
Subject: Re: [Flashcoders]  Documentation of the XFactor's XPath
class?
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

While recently poking around for information on using xfactorstudio's  
xpath I came across this thread.  If possible can you share the  
source for this utility class you wrote?  These would be very  
helpful.  Thanks.


Doug Tangren
[EMAIL PROTECTED]



On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote:

  

I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them.  Comes with a little bit of example
code commented in the class.  Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes,  
which

can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values.  It will decode character entities in XML values to real
representations. For example, it converts amp; to .

Usage Example:

//initialize the object:
var xd:XData = new XData(myXMLObject);

 //get value from an attribute:
var myAttributeString:String = xd.getString(menu/items/item[3] 
@width);



//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text());

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome);

//get a CDATA string:
var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ 
content,

true);


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions


___
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: Re: Re: [Flashcoders] Documentation of the XFactor's XPath, class?

2006-06-28 Thread henrik weber (freemind-design)
thx a lot!  :-) 


sorry for buggin everyone with my repeated/multiplied
message; somehow my mail-account was freakin...

greeetz!

henrik

Date: Wed, 28 Jun 2006 13:55:52 -0400
From: Merrill, Jason [EMAIL PROTECTED]
Subject: RE: Re: [Flashcoders]  Documentation of the XFactor's XPath,
class?
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

Sure - will send offlist.  


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 

 


-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of henrik weber


(freemind-design)


Sent: Wednesday, June 28, 2006 1:06 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: Re: [Flashcoders]  Documentation of the XFactor's XPath,


class?



hi jason,

the issues you mentioned about the lack of usability regarding the
(absolutely brilliant) XPath-Class really sound familiar...  :-[ 
would you mind to share your solution with the list? especially the

mentioned CDATA-stuff sounds promising...

tia!

henrik

--
Henrik Weber
Certified Flash Developer
__freemind-design__
http://www.freemind-design.de

flashcoders@chattyfig.figleaf.com wrote:


 Date: Tue, 27 Jun 2006 22:34:45 -0400
 From: Doug Tangren [EMAIL PROTECTED]
 Subject: Re: [Flashcoders]  Documentation of the XFactor's XPath
class?
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

 While recently poking around for information on using
  

xfactorstudio's


 xpath I came across this thread.  If possible can you share the
 source for this utility class you wrote?  These would be very
 helpful.  Thanks.

 Doug Tangren
 [EMAIL PROTECTED]

___
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] Documentation of the XFactor's XPath class?

2006-06-27 Thread John Giotta

Start here

http://www.w3schools.com/xpath/default.asp
___
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] Documentation of the XFactor's XPath class?

2006-06-27 Thread Merrill, Jason
I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them.  Comes with a little bit of example
code commented in the class.  Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes, which
can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values.  It will decode character entities in XML values to real
representations. For example, it converts amp; to . 

Usage Example:

//initialize the object: 
var xd:XData = new XData(myXMLObject);

 //get value from an attribute:
var myAttributeString:String = xd.getString(menu/items/[EMAIL PROTECTED]);


//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text()); 

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome); 

//get a CDATA string:
var myCDATAParagraph:String = xd.getString(menu/items/item[3]/content,
true);


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 27, 2006 3:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders]  Documentation of the XFactor's XPath class?

Does anyone know where I can find any form of documentation how to use
the XPath classes for ActionScript 2 writtenb y XFactorStudios?

Thanks!

Weyert
___
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] Documentation of the XFactor's XPath class?

2006-06-27 Thread Weyert de Boer

John Giotta wrote:

Start here

http://www.w3schools.com/xpath/default.asp
Like that will work... I mean how to use the class itself, somehow it 
doesn't act the same as XPath stuff in .NET.

___
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] Documentation of the XFactor's XPath class?

2006-06-27 Thread Ash Warren
I would love to check them out.  I use these classes all the time and run
into encode/decode issues a lot.

Thanks!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Merrill,
Jason
Sent: Tuesday, June 27, 2006 3:31 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders]  Documentation of the XFactor's XPath class?

I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them.  Comes with a little bit of example
code commented in the class.  Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes, which
can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values.  It will decode character entities in XML values to real
representations. For example, it converts amp; to . 

Usage Example:

//initialize the object: 
var xd:XData = new XData(myXMLObject);

 //get value from an attribute:
var myAttributeString:String = xd.getString(menu/items/[EMAIL PROTECTED]);


//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text()); 

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome); 

//get a CDATA string:
var myCDATAParagraph:String = xd.getString(menu/items/item[3]/content,
true);


Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 27, 2006 3:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders]  Documentation of the XFactor's XPath class?

Does anyone know where I can find any form of documentation how to use
the XPath classes for ActionScript 2 writtenb y XFactorStudios?

Thanks!

Weyert
___
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

___
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] Documentation of the XFactor's XPath class?

2006-06-27 Thread Merrill, Jason
Sent to you offlist.

Jason Merrill
Bank of America 
Learning  Organization Effectiveness - Technology Solutions 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Ash Warren
Sent: Tuesday, June 27, 2006 5:26 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders]  Documentation of the XFactor's XPath
class?

I would love to check them out.  I use these classes all the time and
run
into encode/decode issues a lot.

Thanks!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Merrill,
Jason
Sent: Tuesday, June 27, 2006 3:31 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders]  Documentation of the XFactor's XPath
class?

I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them.  Comes with a little bit of example
code commented in the class.  Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes,
which
can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values.  It will decode character entities in XML values to real
representations. For example, it converts amp; to .

Usage Example:

//initialize the object:
var xd:XData = new XData(myXMLObject);

 //get value from an attribute:
var myAttributeString:String =
xd.getString(menu/items/[EMAIL PROTECTED]);


//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text());

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome);

//get a CDATA string:
var myCDATAParagraph:String =
xd.getString(menu/items/item[3]/content,
true);


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions






-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 27, 2006 3:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders]  Documentation of the XFactor's XPath class?

Does anyone know where I can find any form of documentation how to
use
the XPath classes for ActionScript 2 writtenb y XFactorStudios?

Thanks!

Weyert
___
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

___
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] Documentation of the XFactor's XPath class?

2006-06-27 Thread Weyert de Boer
Yes, I would be interested in them too! I currently got such ugly XPath 
code:
Parsing a xml file of 4KB takes around 1-3 seconds to parse... :( It's a 
noticable slowdown.


   var showController = XPath.selectNodesAsBoolean( 
settingsResults[0], showController )[0];

   if ( showController == undefined ) showController = false;
   sliderProperties[ showController ] =  showController;

   var showThumbnials = XPath.selectNodesAsBoolean( 
settingsResults[0], showThumbnials )[0];

   if ( showThumbnials == undefined ) showThumbnials = false;
   sliderProperties[ showThumbnials ] =  showThumbnials;


Yours,
Weyert
___
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] Documentation of the XFactor's XPath class?

2006-06-27 Thread Doug Tangren
While recently poking around for information on using xfactorstudio's  
xpath I came across this thread.  If possible can you share the  
source for this utility class you wrote?  These would be very  
helpful.  Thanks.


Doug Tangren
[EMAIL PROTECTED]



On Jun 27, 2006, at 4:30 PM, Merrill, Jason wrote:


I have some classes I wrote which make using xfactorstudio's Xpath
classes easier, if you want them.  Comes with a little bit of example
code commented in the class.  Requires xfactorstudio's classes to be
installed already.

Here is the comment and example code in one of the classes:

Description: This class was created to make getting xfactorstudios'
XPath node values much simpler and easier. It handles CDATA nodes,  
which

can be very tricky with XPath. It also converts the raw strings
representations of booleans and numbers to their actual primitive
values.  It will decode character entities in XML values to real
representations. For example, it converts amp; to .

Usage Example:

//initialize the object:
var xd:XData = new XData(myXMLObject);

 //get value from an attribute:
var myAttributeString:String = xd.getString(menu/items/item[3] 
@width);



//get value from a node value:
var myNodeString:String = xd.getString(menu/items/item[3]/text());

//finds the array position of Welcome in example node item
title=Welcome/
var myAttributePosition:Number = xd.getNodePosition(menu/items/item,
title, Welcome);

//get a CDATA string:
var myCDATAParagraph:String = xd.getString(menu/items/item[3]/ 
content,

true);


Jason Merrill
Bank of America
Learning  Organization Effectiveness - Technology Solutions







-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Weyert de Boer
Sent: Tuesday, June 27, 2006 3:08 PM
To: Flashcoders mailing list
Subject: [Flashcoders]  Documentation of the XFactor's XPath class?

Does anyone know where I can find any form of documentation how  
to use

the XPath classes for ActionScript 2 writtenb y XFactorStudios?

Thanks!

Weyert
___
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


___
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