Results 1 to 14 of 14

Thread: is it worth it (XML)

  1. #1

    Thread Starter
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609

    Thumbs down is it worth it (XML)

    is it worth learning XML right now ??? is it any good ??

  2. #2
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    Yes.
    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.

  3. #3

    Thread Starter
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    what Exactly could i use it for ??

  4. #4
    Fanatic Member chrismitchell's Avatar
    Join Date
    Jan 2001
    Location
    With Hobbes in New Zealand
    Posts
    568
    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

  5. #5

    Thread Starter
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    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

  6. #6
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  7. #7
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  8. #8
    Fanatic Member chrismitchell's Avatar
    Join Date
    Jan 2001
    Location
    With Hobbes in New Zealand
    Posts
    568
    I sit corrected I think that I got confused ... I think that I was thinking of Dhtml or ActionScript.. many apologies...

  9. #9
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  10. #10

    Thread Starter
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    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_

  11. #11
    Fanatic Member chrismitchell's Avatar
    Join Date
    Jan 2001
    Location
    With Hobbes in New Zealand
    Posts
    568
    That was what I was thinking of Cander.. thank you for clearing that up... I thought that it looked familiar... I sit corrected

  12. #12

    Thread Starter
    Fanatic Member ubunreal69's Avatar
    Join Date
    Apr 2001
    Location
    Morayfield, Australia
    Posts
    609
    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

  13. #13
    Fanatic Member chrismitchell's Avatar
    Join Date
    Jan 2001
    Location
    With Hobbes in New Zealand
    Posts
    568
    Very true.. but its an easy mistake to make.. all coding languages look the same to me!

  14. #14
    Fanatic Member chrismitchell's Avatar
    Join Date
    Jan 2001
    Location
    With Hobbes in New Zealand
    Posts
    568
    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
  •  



Click Here to Expand Forum to Full Width