logo
  • 教程列表
  • SO官方文档
  • DTD
    • 带有内部 DTD 的 XML 文档
    • 带有外部 DTD 的 XML 文档
    • 文件类型声明
    • 实体
  1. StackOverflow 文档
  2. xml 教程
  3. DTD
  4. 实体

实体

Created: November-22, 2018

DTD 可以包含实体声明。

<?xml version="1.0"?>
<!DOCTYPE document [
  <!ENTITY my-entity "This is the replacement text">
]>
<document>
  <!-- the rest of the document -->
</document>

本主题详细介绍了实体。

  • 文件类型声明

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明