以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 XML基础 』  (http://bbs.xml.org.cn/list.asp?boardid=1)
----  [求助]请问究竟怎么给element命名?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=1&rootid=&id=59871)


--  作者:peng803
--  发布时间:3/13/2008 3:17:00 PM

--  [求助]请问究竟怎么给element命名?
实在不知道该怎么给element起名字,请帮我看看下面的例子:

You use the Element Input Page to provide details about the element,including:

1.the name of the element
2.the superelement of this element(in other words,which element does the new element nest inside?)
3.an attribute and its associated default value
4.another attribute and its associated default value

老师让把以上内容用xml文件存储,可是该怎么给诸如1.------2.-----3.------这样的小点起名字呢?我起的是:
<detailsPoint>1.the name of the element</detailsPoint>
这样可以吗?

还有如果把一篇文章用xml写出来,那些段落给怎么起名字呢?可以用
<paragraph></paragraph>吗?还是必须把每段的意思概括出来?

请高手指教,请高手给我几个存文章的例子,谢谢


--  作者:admin
--  发布时间:3/14/2008 12:44:00 AM

--  
你好象把题目意思搞错了。
--  作者:peng803
--  发布时间:3/14/2008 3:57:00 PM

--  
没有搞错题意,老师就是让把那些英文内容都用xml文件store,该怎么起element的名字啊?
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
5,121.094ms