Feeds:
Posts
Comments

Archive for the ‘XML’ Category

Aurora Audio Player

FEATURES

* Add unlimited amount of audio files
* All data is stored in XML file
* Every audio file can have a description
(more…)

Advertisements

Read Full Post »

ActionScript:

    // create a new XML object
    var sports:XML = new XML();// set the ignoreWhite property to true (default value is false)
    sports.ignoreWhite = true;

    // After loading is complete, trace the XML object
    sports.onLoad = function(success) {
    trace(sports);
    };

    // load the XML into the sports object
    sports.load(“http://rss.news.yahoo.com/rss/sports”);

Read Full Post »

XML In Flash

In this article you will learn how to integrate Flash with XML data files. We will be covering the following:

  • Creating an XML document that will work with Flash
  • Setting up the visual elements within the Flash Movie
  • Define the ActionScript used to code the Flash Movie

By the end of this article you will be able to load an XML formatted file into a Flash Movie.
Why XML? First introduced in 1996, XML has gathered a huge momentum as the open data sharing language for the Internet. The core functionality of the language is to structure data. To begin with, XML looks very much like HTML. The language is tag based. There are some exceptions. XML itself is not a presentation language. That is, what you see is just the data. You need to leverage technologies such as Cascading Style Sheets to format the data.

(more…)

Read Full Post »

Since its release, ASP.NET applications and components have looked to the web.config file to load any settings they need to function. However, adding custom settings to add flexibility and robustness to an application or component isn’t as straight forward as most would like. This article teaches you how to write the necessary classes to handle XML configuration elements and use the settings they contain within your code.

(more…)

Read Full Post »

On one of my web projects I’ve been working on, we needed to allow the user to edit some information on their profile page. I could have written an HTML form page and then written the php database updater, but why use such outdated interfaces? This is the era of AJAX, and you can’t deny it. AJAX is pretty sweet. I decided on using flickr-like editing boxes to do the job. If you are not familiar with how flickr handles editing data, here’s a short summary.

  1. Show user the data field normally (for instance: the title of a picture)
  2. When mouse rolls over that title, make the background of the word yellow
  3. If the user clicks on the word, change that word to a input box with the word in it. Also show a “save” and “cancel” button
  4. A user can rename the picture and then push “save.”
  5. Run a little script that updates the name into the database
  6. Remove the input box and the buttons and return to the original title display (updated with new title).

 

(more…)

Read Full Post »

This aims to be the easiest possible example demonstrating AJAX (Asynchronous JavaScript and XML).

AJAX is a technique rather than a technology: It describes how JavaScript can be used to pull data from the server using the XML HTTP Request object and then insert this data into the website using DOM. This is done asynchronously – that is, in the background, without having to refresh the whole page. The technology which AJAX is based on has already been available for a while, the combination is what makes it new.

You can try the examples online or download them and run them locally (except for the PHP script, that would require a webserver with PHP).

(more…)

Read Full Post »

  • This tutorial explains how to display xml data within html page using Dreamweaver´s Spry widgets.
  •  
  • XML Data table

    First we need to create some simple xml file ­ for this purpose copy and paste the following to the new file and save it as data.xml:

    <?xml version=”1.0″ encoding=”utf-8″?>
    <customers>
    <customer>
    <name>John Smith</name>
    <tel>07779009876</tel>
    <email>info@johnsmith.co.uk</email>

    (more…)

    Read Full Post »

    Older Posts »