Você está na página 1de 39

c c 

› 

Ô 

O 
 
O   
O 
 
O 
 
O   
O 

O  


O 

O 
 
O 
  
O 
  

O  
  


O  
O   

O 

2  c 

O c c 
  
   
  

 
 

O c      

O c   
  
 2 

O c 
  !!"#

O c   
$ 
 
  %% 

 $    
2  c  
 

O &  '  


 
  
 

O & 


  

 





O &     


 

i& 
c 

i 
   
 
  

   
    

  

i  
     

  ÷
<p>÷<h2>÷<em> 
  
 <br>÷<font>÷
<i>

i  ÷ ÷


 
 

   
  
i& 
c 
(

O i& 
c    )   
  
  *
 

    
 
 + i& 
c 

 

% %<body>This is an element</body>
 +     % %)
<font face="Verdana" size="+1" color="red">
 + 
ï lt;) t;) amp;) ot;)
apos;

O  )
 i&   
 
 
 c      

 c 
O 
   
 

 %

O 
    %

O   
     %

O 
   
%

O ,' 
  %

O ,   %


˜c 

O Ô
  -$./0/10

O -    1   -$./10

O Ô    


 
 
2 
 -$./& i  *34560
O &  
  
-$./0/0 
/10/10

O &   


 -$./+0i/1+0

O &  
   
%
c 
$

O c 
$
  
 c 7  

 c -

 c Ô   

O &  

c  
 
 
  
c    
 


 
c %
 /$ 
*38%560
 /$ 
*98%59

*3:&
'!9


*360
c '   
 

O 7&7 7
&7


c     

 c  
        

O   
       i& c 

 

O c&c 
   
 &
 

c; 
   
 
c  
 

O 7 7
 <   )Ôc Ô;c )
=Ôc;
=  Ô;c ;
  Ô;c  

2   7&7

O 7&7





   
) )
  





 

c  


    
   
 %

O Ô7&7     


    

 
      

  
   




27&7

O (  
    
 
c  


O ( c  

   
  
&7&7

O 7
&7


.

 

) %%  
 c  



 -$ 
)
 
  
:˜)
 
      



   
   7&7

O Ô7&7      



 
 

O 7        



  

 
 

O &
    


  

 
 c  )


  


c .-$  7&7
<employees>
<marketing>
<employee id="1834">
<name>Gustav Sielmann</name>
<email>gsielmann@Dot.com</email>
<tel>+43/0662/723942-124</tel>
c 
<fax>+43/0662/723942-800</fax>
</employee>
</marketing>
</employees>

<!DOCTYPE employees [

<!ELEMENT employees (marketing)>


<!ELEMENT marketing (employee+)>
<!ELEMENT employee (name,email+,tel*,fax?)>
<!ATTLIST employee id CDATA#IMPLIED>
<!ELEMENT name (#PCDATA)>

<!ELEMENT email (#PCDATA)>
<!ELEMENT tel (#PCDATA)>
<!ELEMENT fax (#PCDATA)>

]>
 
7&7
    

   
 



  
 



  

 

  
 
 


   
 


§
 §   

   
c .-$  7&7
<employees>
<marketing>
<employee id="1834">
<name>Gustav Sielmann</name>
<email>gsielmann@Dot.com</email>
<tel>+43/0662/723942-124</tel>
c 
<fax>+43/0662/723942-800</fax>
</employee>
</marketing>
</employees>

<!DOCTYPE employees [

<!ELEMENT employees (marketing)>


<!ELEMENT marketing (employee+)>
<!ELEMENT employee (name,email+,tel*,fax?)>
<!ATTLIST employee id CDATA#IMPLIED>
<!ELEMENT name (#PCDATA)>

<!ELEMENT email (#PCDATA)>
<!ELEMENT tel (#PCDATA)>
<!ELEMENT fax (#PCDATA)>

]>

7&7c 

O />-,&&?i&*3i
&
 
 
60

O 
/>'' ''0

O ?
 $      

      

 

/>@7Ô&Ô@%%%AA0

O ;

  
/0
-$ c  

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href=´example.css"?>
 
  !!"
<weatherReport>
<date>7/14/97</date>
<city>North Place</city>
<state>NX</state>
<country>USA</country>
<high scale="F">103</high>
<low scale="F">70</low>
<morning>Partly cloudy, Hazy</morning>
<afternoon>Sunny &amp; hot</afternoon>
<evening>Clear and Cooler</evening>
</weatherReport>
c

O c c    
   
 
 $
    c 



O c      


c 

 

c&

O c& c &


 
  
  


c  

   c 



O c&   
   



 c% i) c& 


 
  
 ' c  
 


 % ˜   
      

  
 
  
  

c&       c%

O Ô 
 
$
c&  
  

 
 
%
-$ c
c&
/$ 
*[8%5 0
/$.   
*[8%5
$
.$*[ .11% % 18###1$ 1 
 0
/$.   *[1 0
/i& 0
/i-Ô70
/&&-0  

 
/1&&-0
/1i-Ô70
/+ 7?0
/i40  
7 /1i40
/;Ô,&?-*[
' .   0, ./1;Ô,0
/$. ' *[&:7-,&1,Ô - 10/+˜10
/;Ô,&?-*[
' .   0˜ ',./1;Ô,0
/$. ' *[&:7-,&1˜-, 10/+˜10
/1+ 7?0
/1i& 0
/1$.  0
/1$.  0
c
c&

O /$.  
$
.$*3 .11% % 1 1 '
$6 '
*3 60

/1$.  0

O /$'   *3 $ 1$6


*3 %$60
c ' 

O 3 6   
  '' 7&7  
c  
 Ô
    
)   
3     
6

O 2
 3c  )6 

2 c  
 
 &   

 3c  
7

6
 )c7
 B3c762
)  B


O 7&7)c  )


˜-Ôc,  c 
 
 
2 
  
7&7

O 7&7      



 
 ?
B  
   

 $ 


 ?  
 $ 


 $ 

 ?  
 



O 7&7  

  


'c 
 ?
    7&7
c 

O &c  7




  

 c7 
  




 c7  

c 
Ô c '
<?xml version=³1.0´ encoding=³UTF-8´?>
<marketing
xmlns:xsi = ³http://www.w3c.org/2001/XMLSchema-Instance´
xsi:noNameSpaceSchemaLocation = ³mySchema.xsd³>

<employee>Gustav Sielmann</employee>
<employee>Arnold Rummer</employee>
<employee>Johann Neumeier</employee>

</marketing>

<?xml version=³1.0´ encoding=³UTF-8´?>


<xsd:schema xmlns:xsd = ³http://www.w3c.org/2001/XMLSchema´>

<xsd:element name = ³marketing>


<xsd:complexType>
<xsd:sequence>
<xsd:element name = ³employee´ type = ³xsd:string´
maxOccurs = ³unbounded´/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

</xsd:schema>
 #

c    


ö 
ö    

ö     

ö  

ö     


ö 

 

 

 
    


ö 

  #

    
<xsd:schema xmlns:xsd = ³http://www.w3c.org/2001/XMLSchema´>
.
.
.
.
.
</xsd:schema>
  

ö 

$ 
ö 
 
 
 

ö 
   
  
ö 

   

<xsd:element name = ³employee´ type = ³xsd:string´ maxOccurs = ³unbounded´/>


   

ö %
 

$
 
ö  


 

ö  

  
   $

ö  
 
   

<xsd:attribute name = ³country´ type = ³xsd:string´ fixed = ³Austria´/>


 

ö  #
$ 

$

 
&documentation
 
appInfo
   

annotation
ö Documentation appInfo 
 



annotation

<xsd:annotation>
<xsd:documentation xml:lang = ³en´>
here goes the documentation text for the schema
</xsd:documentation>
</xsd:annotation>
    

ö §  
 

ö   
 
 

ö 
 
  

ö   

 

ö   
 
   


#

ö V
 
   $ 
 # 
 

<xsd:simpleType name = ³mySimpleDayOfMoth´>


<xsd:restriction base = ³xsd:positiveInteger´>
<!--positiveInteger defines the minimum to be 1-->
<xsd:maxInclusion value = ³31´>
</xsd:restriction>
</xsd:simpleType>
+  '
  
ö  ;  
ö  ; 
ö  ; 
ö  ; 
ö   ; 
ö   ; 
ö  ; 

ö  ; 
ö    ; 
ö   ; 
ö !  ; 
ö §   ; """"""""""
ö 
ö   
ö 
 

  


  
ö .  

 



ö 2
. 





ö  .  



ö Ô. 

 

  
 

ö  



#
' 

ö  
  
 

' 

  
ö  

 

 
 


<xsd:complexType name = ³myAdressType´>


<xsd:sequence>
<xsd:element name = ³Name´ type = ³xsd:string´>
<xsd:element name = ³Email´ type = ³xsd:string´>
<xsd:element name = ³Tel´ type = ³xsd:string´>
</xsd:sequence>
</xsd:complexType>
c c  ' - 

O V 
&

 V
 
   

 V((

O   


&

 $   # &''$'


     #
&'' '
   #
&'' '
˜


O &'''  '

O &'')$''*++,'
'' 


O &''

 
'
'


 -(

./ -
.
-.-0.
-,.
-0

O &'''''*+++',,'*1'

'



O &''

'
'

O 
 
%


Você também pode gostar