Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you tell me what this code means?

Status
Not open for further replies.

m4tr1xx

Technical User
May 1, 2005
1
CA
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns=" version="1.0" type="wink" xmlns:wink=" wink:version="1.0" contenttype="D">
<item type="animation" mimetype="application/x-shockwave-flash" file="water_balloon.swf" />
<item type="thumbnail" mimetype="image/png" file="water_balloon.png" />
</package>

im workin on a "project" and i would like to know if some one could tell me exactly how this works or what it means. Thanks
 
It's an XML document that appears to describe a smiley for MSN Messenger.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
I'd say it is for a Wink, but Smiley is close enough ;-)

This describes the encoding of the document (standard xml stuff)
<?xml version="1.0" encoding="UTF-8"?>

This begins the package block and defines the name space (xmlns), version, type, location, etc...
<package xmlns=" version="1.0" type="wink" xmlns:wink=" wink:version="1.0" contenttype="D">

This is an item which includes the Flash Animation (water_balloon.swf) that plays when you run it...
<item type="animation" mimetype="application/x-shockwave-flash" file="water_balloon.swf" />

This is an item which includes the Thumbnail/Icon (water_balloon.png) that that you click to play the animation...
<item type="thumbnail" mimetype="image/png" file="water_balloon.png" />

This Closes the package...
</package>

Hope this helps...

Visit My Site
PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top