RE: [flexcoders] OT: Xpath and HTML problem
Johannes, Thats exactly what Im already doing. Thanks anyway. Looks like Flashcoders is back up. Ill move this thread over there unless there is any further insight you can add. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 4:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OT: Xpath and HTML problem load ther xml as such var c:XML = new XML(); c.load etc handle the onLoad and the like then XPATH.selectNodes(c,./myNode) On 12/6/05, Merrill, Jason [EMAIL PROTECTED] wrote: Thanks. Yes, I believe I will need to use CDATA in so Flash views the data correctly when you say normal I assume you mean the Flash native XML class? I would really like to use Xpath if at all possible. Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] OT: Xpath and HTML problem
Hope nobody minds the OT, the chattyfig servers are down AGAIN, and I dont know where else to turn been searching Google for some time now. I am using xfactorstudios Xpath classes to bring in XML node data which contains text and HTML tags to display in a Flash text area component in the Flash 7 player. Here is a snippet of the XML: welcome introduction title=Welcometext![CDATA[Welcome to the a href=''Center for Devices of Radiological Health/a. More text...]]/text/introduction /welcome The text area component is set to HTML=true, but when it renders, it shows the text plus the HTML: Welcome to the a href=''Center for Devices of Radiological Health/a. More text... The string from XPath interestingly enough looks like this: Welcome to the lt;a href="" for Devices of Radiological Healthlt;/agt;. More text... Not sure why Xpath is changing the nodes from a to lt, but Flash doesnt like it. Anyone come across this before and have a solution? Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] OT: Xpath and HTML problem
how r loading this html?On 12/6/05, Merrill, Jason [EMAIL PROTECTED] wrote: Hope nobody minds the OT, the chattyfig servers are down AGAIN, and I don't know where else to turn – been searching Google for some time now. I am using xfactorstudios' Xpath classes to bring in XML node data which contains text and HTML tags to display in a Flash text area component in the Flash 7 player. Here is a snippet of the XML: welcome introduction title=Welcometext![CDATA[Welcome to the a href=''Center for Devices of Radiological Health/a. More text...]]/text/introduction /welcome The text area component is set to HTML=true, but when it renders, it shows the text plus the HTML: Welcome to the a href=''Center for Devices of Radiological Health/a. More text... The string from XPath interestingly enough looks like this: Welcome to the lt;a href="" for Devices of Radiological Healthlt;/agt;. More text... Not sure why Xpath is changing the nodes from a to lt, but Flash doesn't like it. Anyone come across this before and have a solution? Jason Merrill | E-Learning Solutions | icfconsulting.com NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] OT: Xpath and HTML problem
The HTML is inside the XML, as in my example, and loading into Flash using Xpath. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 3:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OT: Xpath and HTML problem how r loading this html? NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] OT: Xpath and HTML problem
we had this problem when loading xml from a webservice and trying to tap into the raw response. are u using the XPATHdocument class, i would advise against that and say use the normal xml class and use the static methods on the xpath class to do your queries, but that said i think the conversation is happening due to the fact that u placed the information into cdata tags, thus it had to be encoded, iotherwise the dom would be not parse it properly. do u need to use cdata for this? On 12/6/05, Merrill, Jason [EMAIL PROTECTED] wrote: The HTML is inside the XML, as in my example, and loading into Flash using Xpath. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 3:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OT: Xpath and HTML problem how r loading this html? NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
RE: [flexcoders] OT: Xpath and HTML problem
Thanks. Yes, I believe I will need to use CDATA in so Flash views the data correctly when you say normal I assume you mean the Flash native XML class? I would really like to use Xpath if at all possible. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 3:44 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OT: Xpath and HTML problem we had this problem when loading xml from a webservice and trying to tap into the raw response. are u using the XPATHdocument class, i would advise against that and say use the normal xml class and use the static methods on the xpath class to do your queries, but that said i think the conversation is happening due to the fact that u placed the information into cdata tags, thus it had to be encoded, iotherwise the dom would be not parse it properly. do u need to use cdata for this? On 12/6/05, Merrill, Jason [EMAIL PROTECTED] wrote: The HTML is inside the XML, as in my example, and loading into Flash using Xpath. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 3:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OT: Xpath and HTML problem how r loading this html? NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Re: [flexcoders] OT: Xpath and HTML problem
load ther xml as such var c:XML = new XML(); c.load etc handle the onLoad and the like then XPATH.selectNodes(c,./myNode)On 12/6/05, Merrill, Jason [EMAIL PROTECTED] wrote: Thanks. Yes, I believe I will need to use CDATA in so Flash views the data correctly – when you say "normal" – I assume you mean the Flash native XML class? I would really like to use Xpath if at all possible. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 3:44 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OT: Xpath and HTML problem we had this problem when loading xml from a webservice and trying to tap into the raw response. are u using the XPATHdocument class, i would advise against that and say use the normal xml class and use the static methods on the xpath class to do your queries, but that said i think the conversation is happening due to the fact that u placed the information into cdata tags, thus it had to be encoded, iotherwise the dom would be not parse it properly. do u need to use cdata for this? On 12/6/05, Merrill, Jason [EMAIL PROTECTED] wrote: The HTML is inside the XML, as in my example, and loading into Flash using Xpath. Jason Merrill | E-Learning Solutions | icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel Sent: Tuesday, December 06, 2005 3:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] OT: Xpath and HTML problem how r loading this html? NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original.Any other use of this e-mail by you is prohibited. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group flexcoders on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. -- j:pn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.