XML (확장성 마크업 언어)

데이터를 구조화하기 위한 유연한 텍스트 형식으로, 사람과 기계가 읽을 수 있습니다.

XML(eXtensible Markup Language)은 데이터를 저장하고 전송하도록 설계되었습니다. 데이터의 모양에 중점을 두는 HTML과 달리 XML은 데이터가 무엇인지에 중점을 둡니다. 사용자가 자체 태그를 정의할 수 있어 복잡한 데이터 구조를 표현하는 데 매우 유연합니다.

        graph LR
  Center["XML (확장성 마크업 언어)"]:::main
  Rel_json_ld["json-ld"]:::related -.-> Center
  click Rel_json_ld "/terms/json-ld"
  Rel_yaml["yaml"]:::related -.-> Center
  click Rel_yaml "/terms/yaml"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 5살도 이해할 수 있게 설명

Generated ELI5 content

🤓 Expert Deep Dive

Generated expert content

❓ 자주 묻는 질문

Is XML replacing HTML?

No, XML and HTML have different goals. HTML displays data; XML transports and stores data.

What is an XML schema?

A description of the structure of an XML document, defining valid elements and attributes.

Is JSON better than XML?

JSON is generally lighter and faster to parse, making it preferred for web APIs, while XML is more verbose but supports complex schemas and namespaces.

📚 출처