is it worth learning XML right now ??? is it any good ??:rolleyes:
Printable View
is it worth learning XML right now ??? is it any good ??:rolleyes:
Yes.
what Exactly could i use it for ??
It can do alot of what JavaScript and many other Scripting languages can do.. Personally I don't use that much XML cause I always found it too hard (not being a programmer n all)... But from what I've seen of it is very good... It uses alot of layering (the z axis) to make things capable of moving round the screen etc.. Other than that I don't know what it can do.. I will search out a site for you, if I have time, that will tell you the capabilities of XML :)
I hope that will help. :)
Chris
thanx chris, that was a help. it would be nice if you could find some of those sites but dont bother if it s ahassle :p
thanx
Michael
chris? What are you smoking? XML is not a scripting language and cannot be used to move images around the screen. Where in the world did you get this from?
Ubunreal, just read the post in which you said XML sucks alittle while back. I gave a good long bit of info on usage of XML.
here is the link to it
http://www.vbforums.com/showthread.p...hreadid=135666
I sit corrected :) I think that I got confused ... I think that I was thinking of Dhtml or ActionScript.. many apologies...
probably..or maybe SVG which is an XML based language for creating vector graphics.
:p
svg looks like this
thats a solar system animation I made...looks confusing but its pretty fun to learnCode:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN" "http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="100%" height="100%" viewBox="0 0 620 420">
<!-- <a:audio xlink:href="http://fmxs0524a/test.mp3" volume="10" start="1s"/> -->
<desc>
A Planetary System by Chris Andesen ([email protected])
This exaple SVG demonstrates the use of filters, gradient fills, masking, and animation(color,transform and motion).
NOTES:
You need the latet beta Adobe viewer to view this correctly since version 1 does not support mask.
This document has been validated against W3C's latest DTD and is 100% valid with the current Nov 2000 specifications.
</desc>
<defs>
<filter id="DropShadow" filterUnits="objectBoundingBox">
<feGaussianBlur in="SourceAlpha" stdDeviation="1" result="Blur1"/>
<feOffset in="Blur1" dx="3" dy="3" result="FinalBlur"/>
<feMerge>
<feMergeNode in="FinalBlur"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
<g transform="translate(200,50)" style="filter:url(#DropShadow)">
<text alignment-baseline="middle"> A planetary system in action using SVG!</text>
</g>
<g transform="translate(300,200)" id="galaxy">
<defs>
<linearGradient id="SunGradient" x1="1" y1="0" x2="0" y2="0" gradientUnits="objectBoundingBox">
<stop offset="0" style="stop-color:red"/>
<stop offset="1" style="stop-color:yellow"/>
</linearGradient>
<linearGradient id="Planet3Gradient" x1="1" y1="0" x2="0" y2="0" gradientUnits="objectBoundingBox">
<stop offset="0" style="stop-color:lightblue"/>
<stop offset="1" style="stop-color:blue"/>
</linearGradient>
<linearGradient id="Moon3Gradient" x1="1" y1="0" x2="0" y2="0" gradientUnits="objectBoundingBox">
<stop offset="0" style="stop-color:black"/>
<stop offset=".25" style="stop-color:#c0c0c0"/>
</linearGradient>
<linearGradient id="Planet1Gradient" x1="1" y1="1" x2="0" y2="0" gradientUnits="objectBoundingBox">
<stop offset="0" style="stop-color:lightgreen"/>
<stop offset=".50" style="stop-color:green"/>
</linearGradient>
<filter id="Turb3" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
<feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="8"/>
</filter>
<mask id="Planet2Mask1">
<circle cx="0" cy="0" r="15" style="filter:url(#Turb3)"/>
</mask>
<filter id="SunBlur" filterUnits="objectBoundingBox">
<feGaussianBlur in="SourceGraphic" stdDeviation="3" result="Blurred"/>
</filter>
</defs>
<g id="sun" onclick='document.write ("hey")'>
<circle cx="0" cy="0" r="21" style="fill:black"/>
<circle cx="0" cy="0" r="20" style="fill:url(#SunGradient);filter:url(#SunBlur)"/>
</g>
<g id="comet1">
<circle cx="0" cy="0" r="8" style="fill:black;mask:url(#Planet2Mask1)">
<animateColor attributeName="fill" from="blue" to="red" dur="5s" repeatCount="indefinite"/>
<animateMotion dur="20s" path="M 290,200 C -30,-240 -245,60 290,200" repeatCount="indefinite"/>
</circle>
</g>
<g id="planet1">
<animateTransform attributeName="transform" type="rotate" dur="3s" values="0;360" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-43,0)">
<circle cx="0" cy="0" r="5" style="fill:black"/>
<circle cx="0" cy="0" r="4" style="fill:url(#Planet1Gradient)"/>
</g>
</g>
<g id="planet2">
<animateTransform attributeName="transform" type="rotate" dur="15s" values="0;360" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-143,0)">
<a xlink:href="http://www.microsoft.ccom">
<circle cx="0" cy="0" r="16" style="fill:red"/>
<circle id="planetc2" cx="0" cy="0" r="15" style="fill:green;mask:url(#Planet2Mask1)"/>
</a>
<g id="moon2_1">
<animateTransform attributeName="transform" type="rotate" dur="25s" values="0;360" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-29,0)">
<circle cx="0" cy="0" r="5" style="fill:black"/>
<circle cx="0" cy="0" r="4" style="fill:gray"/>
<g id="moon2_1moon1">
<animateTransform attributeName="transform" type="rotate" dur="1s" values="0;360" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-9,0)">
<circle cx="0" cy="0" r="1" style="fill:black"/>
</g>
</g>
<g id="moon2_1moon2">
<animateTransform attributeName="transform" type="rotate" dur="1s" values="120;480" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-9,0)">
<circle cx="0" cy="0" r="1" style="fill:black"/>
</g>
</g>
<g id="moon2_1moon3">
<animateTransform attributeName="transform" type="rotate" dur="1s" values="240;600" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-9,0)">
<circle cx="0" cy="0" r="1" style="fill:black"/>
</g>
</g>
</g>
</g>
<g id="moon2_2">
<animateTransform attributeName="transform" type="rotate" dur="2s" values="0;360" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-43,0)">
<circle cx="0" cy="0" r="3" style="fill:black"/>
<circle cx="0" cy="0" r="2" style="fill:yellow"/>
</g>
</g>
</g>
</g>
<g id="planet3">
<animateTransform attributeName="transform" type="rotate" dur="5s" values="0;360" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-73,0)">
<circle cx="0" cy="0" r="8" style="fill:black"/>
<circle cx="0" cy="0" r="7" style="fill:url(#Planet3Gradient)"/>
<g id="moon3_1">
<animateTransform attributeName="transform" type="rotate" dur="3s" values="0;360" repeatCount="indefinite" fill="freeze"/>
<g transform="translate(-19,0)">
<circle cx="0" cy="0" r="3" style="fill:black"/>
<circle cx="0" cy="0" r="2" style="fill:purple;fill:url(#Moon3Gradient)"/>
</g>
</g>
</g>
</g>
</g>
</svg>
thanx cander, i lost track of that previous thread :rolleyes: oops. anyway, thanx to all ya's for the inout. i'v actually learnt a small amount of XML for use with ASP but i didnt like it and didnt find much use for it, thats probably why i dont like it, and its also quiet complicated to implicate. :D
_Ubunr3al_
That was what I was thinking of Cander.. thank you for clearing that up... I thought that it looked familiar... I sit corrected :)
lol, it was kinda funny though :)Quote:
Originally posted by chrismitchell
That was what I was thinking of Cander.. thank you for clearing that up... I thought that it looked familiar... I sit corrected :)
Very true.. but its an easy mistake to make.. all coding languages look the same to me! :p
OR sometimes Red and Green too! :D