Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 12th, 2006, 12:18 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML in ActionScript & JS

I should explain for starters that I am a Delphi/C++ programmer. ActionScript, JavaScript etc are relative unknowns to me. The one thing I have realized is that given the environments in which they are designed to be used there are often constraints on just what can be done.

First some background

I am in the process of creating server side components that need to deliver data to clients that can be Win32 executables, Flash or AJAX. I am using XML to transfer data between client and server. Some of the server -> client data transfers involve sending PNG images or WMA files.

So here are my questions
  • I have come across references to how Base64 is better for coding CDATA sections. Why? In what way is it better than hexadecimal?Is there any way I can convert the encoded binary in a CDATA section back to the PNG/WMA file using plain ActionScript?
  • If I get that far would I then be able to display the image when and where I want?
  • I realize that there is another route - that of providing a URL to the image/sound resource in question and then letting AS/JS interpret the former but in my context this would be rather messy. I should add that the client side time issues when getting the scripting language to do some work is not going to pose a problem

I woudl much appreciate any help.





Similar Threads
Thread Thread Starter Forum Replies Last Post
help to create dynamic listbox using xslt & JS kramsengg XSLT 7 June 10th, 2008 05:00 AM
JavaScript & XML & NN lmod Javascript How-To 0 August 18th, 2005 03:16 PM
XML from a DB recordset (removal of <>) Thodoris XML 3 July 13th, 2004 12:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.