Introduction to XML
XML 소개
XML was designed to transport and store data.
XML은 자료를 저장하고 전송하기 위해 만들어 졌다.
HTML was designed to display data.
HTML은 자료를 표시하기 위해 만들어 졌다.
What You Should Already Know
당신이 알아야 할 것은
Before you continue you should have a basic understanding of the following:
다음 내용에 대해 기본적으로 알아야 한다.
- HTML
- JavaScript
If you want to study these subjects first, find the tutorials on our Home page.
이러한 주제들에 대해 먼저 공부하고 싶다면 우리 홈페이지의 튜토리얼(설명서)를 참고해라.
What is XML?
XML은 무엇인가?
- XML stands for EXtensible Markup Language
- XML은 확장 마크업 언어의 줄임말이다.
- XML is a markup language much like HTML
- XML은 HTML처럼 마크업 언어이다.
- XML was designed to carry data, not to display data
- XML은 자료를 표시하기 위한 것이 아니라 전송하기 위해 만들어 졌다.
- XML tags are not predefined. You must define your own tags
- XML 태그는 미리 정해져 있지 않다. 여러분이 당신 만의 태그를 정의해야 한다.
- XML is designed to be self-descriptive
- XML은 스스로를 설명하기 위해 만들어 졌다.
- XML is a W3C Recommendation
- XML은 W3C 권고사항을 준수한다.
The Difference Between XML and HTML
XML과 HTML의 차이점
XML is not a replacement for HTML.
XML은 HTML의 대체물이 아니다.
XML and HTML were designed with different goals:
XML과 HTML은 다른 목표를 가지고 만들어 졌다.
- XML was designed to transport and store data, with focus on what data is.
- XML은 자료를 전송하고 보관하며 자료가 무엇인지 초점을 맞추기 위해 만들어 졌다.
- HTML was designed to display data, with focus on how data looks.
- HTML은 자료를 표시하며 자료가 어떻게 보일 것인지 초점을 맞추기 위해 만들어 졌다.
HTML is about displaying information, while XML is about carrying information.
HTML은 정보를 표시를 위해 XML은 정보 전송을 위해 존재한다.
XML Does not DO Anything
XML은 아무 것도 하지 않는다.
Maybe it is a little hard to understand, but XML does not DO anything. XML was created to structure, store, and transport information.
이해하기 약간 어려울 것 같지만 XML은 아무것도 하지 않는다. XML은 정보를 전송하고 저장하고 구조화하기 위해 만들어 졌다.
The following example is a note to Tove from Jani, stored as XML: 다음은 XML로 저장된 Jani로부터 Tove에게 보내는 노트이다.
<note> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> |
The note above is quite self descriptive. It has sender and receiver information, it also has a heading and a message body.
위의 노트는 스스로를 잘 설명하고 있다. 그것은 송신자와 수신자 정보가 있고 헤더와 메세지 본문이 있다.
But still, this XML document does not DO anything. It is just pure information wrapped in tags. Someone must write a piece of software to send, receive or display it.
그러나 아직 이 XML문서는 아무 것도 하지 않는다. 그것은 태그로 포장된 그저 순수한 정보다. 누군가는 그것을 보내고 받고 표시하기 위해 소프트웨어로 보내야 한다.
XML is Just Plain Text
XML은 그저 평문이다.
XML is nothing special. It is just plain text. Software that can handle plain text can also handle XML.
XML은 특별한 것이 없다. 그저 평문이다. 평문을 다룰 수 있는 소프트웨어는 XML도 다룰 수 있다.
However, XML-aware applications can handle the XML tags specially. The functional meaning of the tags depends on the nature of the application.
그러나 XML을 아는 응용 프로그램은 XML 태그들을 특별하게 다룬다. 태그의 기능적 의미는 응용 프로그램의 특성에 달려 있다.
With XML You Invent Your Own Tags
XML로 당신만의 태그를 만든다.
The tags in the example above (like <to> and <from>) are not defined in any XML standard.
(<to>와 <from>처럼) 위의 예시의 태그들은 XML 표준으로 정의되어 있지 않다.
These tags are "invented" by the author of the XML document.
이러한 태그들은 XML 문서의 저자에 의해 "발명된다".
That is because the XML language has no predefined tags.
그 이유는 XML 언어는 미리 정의된 태그가 없기 때문이다.
The tags used in HTML (and the structure of HTML) are predefined. HTML documents can only use tags defined in the HTML standard (like <p>, <h1>, etc.).
HTML에서 사용되는 태그들(과 HTML의 구조)은 미리 정의되어 있다. HTML 문서들은 (<p>, <h1>, 등등처럼)HTML 표준에 정의된 태그들만 사용할 수 있다.
XML allows the author to define his own tags and his own document structure.
XML은 제작자에게 그만의 태그와 그만의 문서 구조를 정의하도록 한다.
XML is Not a Replacement for HTML
XML은 HTML을 대체물이 아니다.
XML is a complement to HTML.
XML은 HTML의 대체물이 아니다.
It is important to understand that XML is not a replacement for HTML. In most web applications, XML is used to transport data, while HTML is used to format and display the data.
XML이 HTML의 대체물이 아님을 이해하는 것은 중요하다. 대부분의 웹 응용프로그램에서 HTML이 자료를 표시하고 형식을 지정하는 데 사용하는 데 비해 XML은 자료를 전송한다.
My best description of XML is this:
내가 생각하는 XML의 최고의 정의는:
XML is a software- and hardware-independent tool for carrying information.
XML은 정보를 전송하기 위한 소프트웨어와 하드웨어에 독립적인 도구이다.
XML is a W3C Recommendation
XML은 W3C 권고사항이다.
XML became a W3C Recommendation 10. February 1998.
XML은 1998년 2월 10일 W3C 권고사항이 되었다.
To read more about the XML activities at W3C, please read our W3C Tutorial.
W3C의 XML 활동에 관해 읽고 싶다면 W3C 튜토리얼을 읽어라.
XML is Everywhere
XML은 어디든 있다.
We have been participating in XML development since its creation. It has been amazing to see how quickly the XML standard has developed, and how
quickly a large number of software vendors have adopted the standard.
우리는 만들어졌을 때부터 XML 개발에 참여했다. XML 표준이 얼마나 빠르게 발전했는 지 얼마나 많은 소프트웨어 벤더들이 이 표준을 채택했는지 놀라울 정도이다.
XML is now as important for the Web as HTML was to the foundation of the Web.
XML은 HTML이 web의 시초인만큼 web에서 현재 중요하다.
XML is everywhere. It is the most common tool for data transmissions between all sorts of applications, and is becoming more
and more popular in the area of storing and describing information.
XML은 어디든 있다. XML은 모든 종류의 응용 프로그램에서 자료 전송을 위한 가장 보편적인 도구이며 정보를 묘사하고 저장하는 영역에서 더욱 더 유명해 지고 있다.
Reference : http://w3schools.com/xml/xml_whatis.asp
'컴퓨터 공부 > 번역' 카테고리의 다른 글
6. XML 속성 (0) | 2009.05.13 |
---|---|
5. XML 엘레먼트 (0) | 2009.05.13 |
4. XML 구문 규칙 (0) | 2009.05.13 |
3. XML 트리 (0) | 2009.05.12 |
2. 어떻게 XML이 사용될 수 있을까? (0) | 2009.05.12 |