1
我將如何建立這個......內嵌DTD與構建
<!DOCTYPE root-element[
<!ENTITY % w3centities PUBLIC
"-//W3C//ENTITIES Combined Set//EN//XML"
"w3centities.ent"
>
%w3centities;
]>
...使用生成器?
我可以管理除了「%w3centities」以外的每一個人;在第二與下面的代碼行持續:
xml.declare! :DOCTYPE, "root-element" do
xml.declare! :ENTITY, "%", :w3entities, :PUBLIC,
"-//W3C//ENTITIES Combined Set//EN//XML",
"w3centities.ent"
end
感謝