Test d'ajout de TOUT mes fichiers (moins ceux mis en git reset HEAD à cause de l'histoire des trailings machins choses)
Cf: http://www.agavemountain.com/2008/01/git-tralining-whitespace-error-during.html
This commit is contained in:
		
							
								
								
									
										17
									
								
								A63/xml/exercices/letter.dtd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								A63/xml/exercices/letter.dtd
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
<!ELEMENT letter (contact*, salutation, paragraph*, closing, signature) >
 | 
			
		||||
<!ELEMENT contact (name, address1, address2?, city, state, zip, phone, flag) >
 | 
			
		||||
<!ATTLIST contact type (from|to) #REQUIRED >
 | 
			
		||||
<!ELEMENT name ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT address1 ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT address2 ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT city ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT state ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT zip ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT phone ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT flag EMPTY >
 | 
			
		||||
<!ATTLIST flag gender (M|F) #REQUIRED>
 | 
			
		||||
<!ELEMENT salutation ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT paragraph ( #PCDATA | bold )* >
 | 
			
		||||
<!ELEMENT bold ( #PCDATA )>
 | 
			
		||||
<!ELEMENT closing ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT signature ( #PCDATA ) >
 | 
			
		||||
							
								
								
									
										18
									
								
								A63/xml/exercices/letter.dtd~
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								A63/xml/exercices/letter.dtd~
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
<!DOCTYPE letter>
 | 
			
		||||
<!ELEMENT letter (contact*, salutation, paragraphe*, closing, signature)>
 | 
			
		||||
<!ELEMENT contact (name, address1, address2?, city, state, zip, phone, flag) >
 | 
			
		||||
<!ATTLIST contact type (from|to)>
 | 
			
		||||
<!ELEMENT name ( #PCDATA )>
 | 
			
		||||
<!ELEMENT address1 ( #PCDATA )>
 | 
			
		||||
<!ELEMENT address2 ( #PCDATA )>
 | 
			
		||||
<!ELEMENT city ( #PCDATA )>
 | 
			
		||||
<!ELEMENT state ( #PCDATA )>
 | 
			
		||||
<!ELEMENT zip ( #PCDATA )>
 | 
			
		||||
<!ELEMENT phone ( #PCDATA )>
 | 
			
		||||
<!ELEMENT flag EMPTY>
 | 
			
		||||
<!ATTLIST flag gender (M|F)>
 | 
			
		||||
<!ELEMENT salutation>
 | 
			
		||||
<!ELEMENT paragraphe ( #PCDATA | bold)>
 | 
			
		||||
<!ELEMENT bold ( #PCDATA )>
 | 
			
		||||
<!ELEMENT closing>
 | 
			
		||||
<!ELEMENT signature>
 | 
			
		||||
							
								
								
									
										54
									
								
								A63/xml/exercices/letter.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								A63/xml/exercices/letter.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,54 @@
 | 
			
		||||
<?xml version = "1.0"?>
 | 
			
		||||
<!-- Fig. 5.6: letter.xml               -->
 | 
			
		||||
<!-- lettre formatee par XML -->
 | 
			
		||||
 | 
			
		||||
<!DOCTYPE letter SYSTEM "letter.dtd">
 | 
			
		||||
 | 
			
		||||
<letter>
 | 
			
		||||
	<contact type = "from">
 | 
			
		||||
		<name>Jane Doe</name>
 | 
			
		||||
		<address1>Box 12345</address1>
 | 
			
		||||
		<address2>15 Any Ave.</address2>
 | 
			
		||||
		<city>Othertown</city>
 | 
			
		||||
		<state>Otherstate</state>
 | 
			
		||||
		<zip>67890</zip>
 | 
			
		||||
		<phone>555-4321</phone>
 | 
			
		||||
		<flag gender = "F"/>
 | 
			
		||||
	</contact>
 | 
			
		||||
 | 
			
		||||
	<contact type = "to">
 | 
			
		||||
		<name>Jane Doe</name>
 | 
			
		||||
		<address1>123 Main St.</address1>
 | 
			
		||||
		<address2></address2>
 | 
			
		||||
		<city>Anytown</city>
 | 
			
		||||
		<state>Anystate</state>
 | 
			
		||||
		<zip>12345</zip>
 | 
			
		||||
		<phone>555-1234</phone>
 | 
			
		||||
		<flag gender = "M"/>
 | 
			
		||||
	</contact>
 | 
			
		||||
	<salutation>Dear Sir:</salutation>
 | 
			
		||||
	<paragraph>It is our privilege to inform you about our new
 | 
			
		||||
	database managed with <bold>XML</bold>. This new system
 | 
			
		||||
	allows you to reduce the load on your inventory list
 | 
			
		||||
	server by having the client machine perform the work of
 | 
			
		||||
	sorting and filtering the data.</paragraph>
 | 
			
		||||
 | 
			
		||||
	<paragraph>The data in an XML element is normalized, so
 | 
			
		||||
	plain-text diagrams such as
 | 
			
		||||
	/---\
 | 
			
		||||
	|   |
 | 
			
		||||
	\---/
 | 
			
		||||
 | 
			
		||||
	will become gibberish.</paragraph>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	<closing>Sincerely</closing>
 | 
			
		||||
	<signature>Ms. Doe</signature>
 | 
			
		||||
 | 
			
		||||
</letter>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										52
									
								
								A63/xml/exercices/letter.xml~
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								A63/xml/exercices/letter.xml~
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,52 @@
 | 
			
		||||
<?xml version = "1.0"?>
 | 
			
		||||
<!-- Fig. 5.6: letter.xml               -->
 | 
			
		||||
<!-- lettre formatee par XML -->
 | 
			
		||||
 | 
			
		||||
<letter>
 | 
			
		||||
	<contact type = "from">
 | 
			
		||||
		<name>Jane Doe</name>
 | 
			
		||||
		<address1>Box 12345</address1>
 | 
			
		||||
		<address2>15 Any Ave.</address2>
 | 
			
		||||
		<city>Othertown</city>
 | 
			
		||||
		<state>Otherstate</state>
 | 
			
		||||
		<zip>67890</zip>
 | 
			
		||||
		<phone>555-4321</phone>
 | 
			
		||||
		<flag gender = "F"/>
 | 
			
		||||
	</contact>
 | 
			
		||||
 | 
			
		||||
	<contact type = "to">
 | 
			
		||||
		<name>Jane Doe</name>
 | 
			
		||||
		<address1>123 Main St.</address1>
 | 
			
		||||
		<address2></address2>
 | 
			
		||||
		<city>Anytown</city>
 | 
			
		||||
		<state>Anystate</state>
 | 
			
		||||
		<zip>12345</zip>
 | 
			
		||||
		<phone>555-1234</phone>
 | 
			
		||||
		<flag gender = "M"/>
 | 
			
		||||
	</contact>
 | 
			
		||||
	<salutation>Dear Sir:</salutation>
 | 
			
		||||
	<paragraph>It is our privilege to inform you about our new
 | 
			
		||||
	database managed with <bold>XML</bold>. This new system
 | 
			
		||||
	allows you to reduce the load on your inventory list
 | 
			
		||||
	server by having the client machine perform the work of
 | 
			
		||||
	sorting and filtering the data.</paragraph>
 | 
			
		||||
 | 
			
		||||
	<paragraph>The data in an XML element is normalized, so
 | 
			
		||||
	plain-text diagrams such as
 | 
			
		||||
	/---\
 | 
			
		||||
	|   |
 | 
			
		||||
	\---/
 | 
			
		||||
 | 
			
		||||
	will become gibberish.</paragraph>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	<closing>Sincerely</closing>
 | 
			
		||||
	<signature>Ms. Doe</signature>
 | 
			
		||||
 | 
			
		||||
</letter>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										12
									
								
								A63/xml/exercices/produit.dtd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								A63/xml/exercices/produit.dtd
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
<!ELEMENT revendeur ( produit*, fabricant* ) >
 | 
			
		||||
<!ELEMENT produit ( code, prixunitaire ) >
 | 
			
		||||
<!ATTLIST produit categorie ( hifi_vidéo | éléctroménager | meuble | droguerie ) #REQUIRED >
 | 
			
		||||
<!ATTLIST produit code ID #REQUIRED >
 | 
			
		||||
<!ATTLIST produit fab IDREF #REQUIRED >
 | 
			
		||||
<!ELEMENT prixunitaire ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT fabricant ( nom, adresse, codepostal, ville ) >
 | 
			
		||||
<!ATTLIST fabricant id ID #REQUIRED>
 | 
			
		||||
<!ELEMENT nom ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT adresse ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT codepostal ( #PCDATA ) >
 | 
			
		||||
<!ELEMENT ville ( #PCDATA ) >
 | 
			
		||||
		Reference in New Issue
	
	Block a user