|
-
Jan 31st, 2002, 04:12 AM
#1
Thread Starter
Fanatic Member
is it worth it (XML)
is it worth learning XML right now ??? is it any good ??
-
Jan 31st, 2002, 10:49 AM
#2
Frenzied Member
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Feb 1st, 2002, 05:59 AM
#3
Thread Starter
Fanatic Member
what Exactly could i use it for ??
-
Feb 1st, 2002, 06:12 AM
#4
-
Feb 1st, 2002, 08:55 AM
#5
Thread Starter
Fanatic Member
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
thanx
Michael
-
Feb 1st, 2002, 09:59 AM
#6
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.
-
Feb 1st, 2002, 10:00 AM
#7
-
Feb 1st, 2002, 11:59 AM
#8
Fanatic Member
I sit corrected I think that I got confused ... I think that I was thinking of Dhtml or ActionScript.. many apologies...
-
Feb 1st, 2002, 01:13 PM
#9
probably..or maybe SVG which is an XML based language for creating vector graphics.
svg looks like this
Code:
<?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>
thats a solar system animation I made...looks confusing but its pretty fun to learn
-
Feb 2nd, 2002, 05:08 AM
#10
Thread Starter
Fanatic Member
thanx cander, i lost track of that previous thread 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.
_Ubunr3al_
-
Feb 2nd, 2002, 06:07 AM
#11
Fanatic Member
That was what I was thinking of Cander.. thank you for clearing that up... I thought that it looked familiar... I sit corrected
-
Feb 2nd, 2002, 07:39 AM
#12
Thread Starter
Fanatic Member
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
lol, it was kinda funny though
-
Feb 2nd, 2002, 10:15 AM
#13
Fanatic Member
Very true.. but its an easy mistake to make.. all coding languages look the same to me!
-
Feb 4th, 2002, 09:57 AM
#14
Fanatic Member
OR sometimes Red and Green too!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|