добавила дтд... вторая лаба готова?
This commit is contained in:
parent
88e0f42962
commit
4680c11e7a
@ -10,7 +10,7 @@
|
||||
border-collapse: collapse;
|
||||
}
|
||||
th, td {
|
||||
border: 1px solid black;
|
||||
border: 3px solid rgb(255, 150, 100);
|
||||
padding: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml-stylesheet type="text/xsl" href="XMLStyles.xslt"?>
|
||||
<!DOCTYPE animals SYSTEM "animals.dtd">
|
||||
|
||||
<animals>
|
||||
<animal id="1">
|
||||
|
16
miakd/animals.dtd
Normal file
16
miakd/animals.dtd
Normal file
@ -0,0 +1,16 @@
|
||||
<!ELEMENT animals (animal+)>
|
||||
|
||||
<!ELEMENT animal (name, size, weight, color, diet, habitat, interestingFact)>
|
||||
<!ATTLIST animal id ID #REQUIRED>
|
||||
|
||||
<!ELEMENT name (#PCDATA)>
|
||||
<!ELEMENT size (width, height)>
|
||||
<!ELEMENT width (#PCDATA)>
|
||||
<!ELEMENT height (#PCDATA)>
|
||||
<!ELEMENT weight (#PCDATA)>
|
||||
<!ELEMENT color (#PCDATA)>
|
||||
<!ELEMENT diet (food, averageIntake)>
|
||||
<!ELEMENT food (#PCDATA)>
|
||||
<!ELEMENT averageIntake (#PCDATA)>
|
||||
<!ELEMENT habitat (#PCDATA)>
|
||||
<!ELEMENT interestingFact (#PCDATA)>
|
@ -86,6 +86,7 @@
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="animals.dtd" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
|
Loading…
Reference in New Issue
Block a user