XML標記之間文本的技術名稱

[英]Technical name for text between XML tags


<fizzBuzz>
    Some text
</fizzBuzz>

What's the technical name (using XML verbage) for the text between fizzBuzz's starting and ending tags (in this case, Some text)? I am whipping up some documentation and almost referred to this as CDATA, but then stopped myself. And then I realized, to my horror, that I had no idea what it was.

fizzBu​​zz的起始標記和結束標記之間的文本的技術名稱(使用XML verbage)是什么(在本例中為Some text)?我正在掀起一些文檔,幾乎把它稱為CDATA,但后來我自己停了下來。然后,我驚恐地意識到,我不知道它是什么。

Content? Tag bodies?

內容?標記體?

Online searching turned up, to my great surprise, nodda. Maybe this post can put an end to that. Thanks in advance!

令我驚訝的是,nodda在線搜索出現了。也許這篇文章可以結束這一點。提前致謝!

4 个解决方案

#1


6  

It's simply called the content of the element.

它簡稱為元素的內容。

#2


3  

From the XML Specifications document:

從XML規范文檔:

http://www.w3.org/TR/REC-xml/#sec-physical-struct

[Definition: An XML document may consist of one or many storage units. These are called entities; they all have content and are all (except for the document entity and the external DTD subset) identified by entity name.]

[定義:XML文檔可能包含一個或多個存儲單元。這些被稱為實體;它們都有內容,並且都是由實體名稱標識的所有內容(文檔實體和外部DTD子集除外)。

#3


0  

"Content" is the correct term.

“內容”是正確的術語。

#4


0  

Character data. See this definition

人物數據。看到這個定義


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2012/03/24/72f17c29bc5f6a6edf3e6416454f5213.html



 
粤ICP备14056181号  © 2014-2021 ITdaan.com