以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XML基础 』 (http://bbs.xml.org.cn/list.asp?boardid=1) ---- 可以写出这个Schema没有? (http://bbs.xml.org.cn/dispbbs.asp?boardid=1&rootid=&id=44181) |
-- 作者:jackie_yi -- 发布时间:3/21/2007 9:35:00 AM -- 可以写出这个Schema没有? <?xml version="1.0" encoding="gb2312"?> <!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by Administrator (EMBRACE) --> <xs:test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mynamespace/ test.xsd " xmlns:xs="http://mynamespace/"> <xs:aelement name="hello">内容</xs:aelement> </xs:test> |
-- 作者:gemingke -- 发布时间:3/22/2007 8:14:00 PM -- 嗯?你这是什么? 根元素test,有一个子元素aelement。aelement元素有一个name属性,自身还有实际的文本值。 这样的schema不复杂啊 |
-- 作者:jackie_yi -- 发布时间:3/27/2007 6:30:00 PM -- 谢谢了,我找到答案了,就是用 simpleContent 是吧? |
-- 作者:liufu1983 -- 发布时间:4/4/2007 10:44:00 PM -- 对 是用smipleType |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
46.875ms |