Master
'
s Thesis 2006 
FACHHOCHSCHULE
HOCHSCHULE F
U
R
LI Hui 
STUTTGART
TECHNIK
Background 
        STUTTGART UNIVERSITY OF APPLIED 
SCIENCES 
corresponding  style  parameters  are  also  defined.  Furthermore,  another  command 
path
  is  provided  to  describe  lines  and  curves  between  points.  Additionally 
transformations, masking, linking, temporal effects and animation are also possible. 
SVGT is XML based graphics, the source code for SVGT graphic  is not held  in any 
arbitrary text format, but an SVGT image or an SVGT document is a 
well formed
XML document. A well formed SVGT document might have a structure which could 
look like this: 
 
Error!
        "http://www.w3.org/TR/2001/REC SVG 20010904/DTD/svg10.dtd">             
 
         
 
Listing 3: 
The format of GetMap request in a URL
The first line of the SVGT file header is the standard XML processing instruction that 
efficiently  states  that  this  document  conforms  to  the  XML  1.0  specification,  uses 
UTF 8  character  encoding  and  depends  on  a  Document  Type  Definition  (DTD) 
external  to  the  document  to  parse  correctly.  Following  that  might  be  a  DOCTYPE 
declaration that provides information to the SVGT rendering engine (also called SVG 
viewer)  about  what  structure  to  expect  in  the  SVGT  document.  The 
DOCTYPE
states  where  the  DTD  is  located  and  the  name  of  the  document  element  it  will  be 
applied to. In this case, the DTD is applied to a document element name 
svg
. In the 
DOCTYPE declaration,   
"http://www.w3.org/TR/2001/REC SVG 20010904/DTD/svg10.dtd"
Listing 4: 
DTD in the DOCTYPE declaration
Listing  4  is  the  URL  for  the  file  that  defines  the  allowable  structure  of  an  SVGT 
document, for example the grammar and rules for the document. More specifically, an 
SVGT  document  also  must  be 
valid
.  In  XML  terminology,  that  means  the  SVGT 
image  must  be  structured  in  the  way  demanded  by  the  Document  Type  Definition 
14 




PHP MySql Web Hosting Design and Implement Client Applications PHP MySQL Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.