commit cf165fdf4e3967fc1bb921fd7eb8ab38e5c6c082 Author: Никита Потапов Date: Tue Oct 1 11:23:59 2024 +0400 lab1-3 diff --git a/README.md b/README.md new file mode 100644 index 0000000..b6bcdd8 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +Чтобы запустить проект, нужно открыть консоль и запустить Python сервер +```bash +python -m http.server +``` + +Чтобы проверить валидность документа, открыть WSL и запустить +```bash +xmllint --schema it_companies.xsd it_companies.xml --noout +``` \ No newline at end of file diff --git a/dtd.xml b/dtd.xml new file mode 100644 index 0000000..44198aa --- /dev/null +++ b/dtd.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/it_companies.xml b/it_companies.xml new file mode 100644 index 0000000..b79a974 --- /dev/null +++ b/it_companies.xml @@ -0,0 +1,75 @@ + + + + + OpenAI + San Francisco, CA, USA + 1000 + Artificial Intelligence + 2015-12-11 + + + Yandex + Moscow, Russia + 10000 + Search Engine, Online Services + 1997-09-23 + + + Google + Mountain View, CA, USA + 135000 + Search Engine, Advertising, Cloud Computing + 1998-09-04 + + + Microsoft + Redmond, WA, USA + 221000 + Software, Cloud Services + 1975-04-04 + + + Amazon + Seattle, WA, USA + 1540000 + E-commerce, Cloud Computing + 1994-07-05 + + + Apple + Cupertino, CA, USA + 164000 + Consumer Electronics, Software + 1976-04-01 + + + IBM + Armonk, NY, USA + 282100 + IT Services, Hardware, Software + 1911-06-16 + + + Meta (Facebook) + Menlo Park, CA, USA + 66000 + Social Media, Virtual Reality + 2004-02-04 + + + Twitter (X) + San Francisco, CA, USA + 7500 + Social Media + 2006-03-21 + + + Alibaba + Hangzhou, China + 251462 + E-commerce, Technology + 1999-06-28 + + diff --git a/it_companies.xsd b/it_companies.xsd new file mode 100644 index 0000000..a030283 --- /dev/null +++ b/it_companies.xsd @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/it_companies.xsl b/it_companies.xsl new file mode 100644 index 0000000..7e0dff2 --- /dev/null +++ b/it_companies.xsl @@ -0,0 +1,33 @@ + + + + + + + + IT Companies + + +

List of IT Companies

+ + + + + + + + + + + + + + + + + +
NameLocationEmployeesSpecializationFounded
+ + +
+