BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


XSLT
Family Tree maker
Alternative Ordering - ""Women and Children to the lifeboats first""
Restructuring flat delimited XML
Hex and Binary Conversions in XSLT - with Boolean math functions
Using XSLT to produce SVG (1)
Using XSLT to produce SVG (2)
Performance Tuning XSLT - Part 1
Performance Tuning XSLT - Part 2
Performance Tuning XSLT - Part 3
Performance Tuning XSLT - Part 4
Using XSLT to produce SVG (3)
XPath as parameters
Table with more than one column
Create an N-Column Table from XML node-set
Finding ""the corresponding node"" in a parallel subtree
Get the last item from a delimited list
Limitation to Muenchian method.
Find the number of tokens or words in a string
Randomization of node-sets or node-lists
XPath Analyzer


 
 

<< XQuery.NET and XML >>


By Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First Posted 02/14/2002
Times viewed 154

What is SVG?


Summary Introduction to Scalable Vector Graphics

As the name implies, SVG is a graphic format.  Some other graphics formats are also text (as SVG is) but SVG is not only text - it's XML as well!

Because SVG is written in XML, it graphics can easily be generated by code on web servers using standard XML tools!  Here are some other things you might already know about SVG!  :)

  • Plain text format -- SVG files can be read and modified by a range of tools, and are usually much smaller and more compressible than comparable JPEG or GIF images.

  • Scalable -- Unlike bitmapped GIF and JPEG formats, SVG is a vector format, which means SVG images can be printed with high quality at any resolution, without the staircase effects you see when printing bitmapped images.

  • Zoomable -- You can zoom in on any portion of an SVG image and not see any degradation.

  • Searchable and selectable text -- Unlike in bitmapped images, text in SVG text is selectable and searchable. For example, you can search for specific text strings, like city names in a map.

  • Scripting and animation -- SVG enables dynamic and interactive graphics - such as the Flashâ„¢ graphics we are familiar with these days.

  • Open standard -- SVG is an open recommendation developed by a cross-industry consortium. Unlike some other graphics formats, SVG is not proprietary.  However there might be patent (read: royalty) battles soon, so keep that in mind!

  • True XML -- As an XML grammar, SVG offers all the advantages of XML!

  • It's a 2D (not 3D) graphics solution at this time

  • SVG offers anti-aliased rendering, pattern and gradient fills, sophisticated filter-effects, clipping to arbitrary paths, text and animations.

  • SVG (unlike Flash) is a W3 recommendation

  • It is explicitly designed to work with other XML technologies such as CSS, DOM and SMIL

  • Mozilla already renders SVG natively!!  For most other browsers you will have to download and use a plugin (Adobe has one for example)

  • Read more about the SVG project at Mozilla here:
    http://www.mozilla.org/projects/svg/

    You can find a list of editors and implementations here:
    http://www.w3.org/Graphics/SVG/SVG-Implementations

    Adobe has some interesting demonstrations here:
    http://www.adobe.com/svg/demos/main.html

    If you have Mozilla (which includes SVG support) or a plugin (Adobe for example) here are several examples:
    http://www.croczilla.com/svg/

    There is also an SVG DOM (document object model) which is compatible with the DOM document most XML programmers are familiar with - read about i here:
    http://www.w3.org/TR/SVG/svgdom.html

     

    Additional information


    Rate this article on a scale of 1 to 10 (0 votes, average 0)

    Your vote :  

    << XQuery.NET and XML >>





    Leave a comment for this article
    Your name
    Your email (optional)
    Your comment
    Optional: Upload an attachment
    Enter the code shown:

     
     

        Email TopXML