社区
XML/XSL
帖子详情
求XSD的写法(在线等)
parazhouyu
2007-10-09 03:35:59
<Weather>
<Picture src="Images/pic19.gif" alt="Fine"/>
Sunny periods
</Weather>
...全文
91
4
打赏
收藏
求XSD的写法(在线等)
Sunny periods
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
cds27
2007-10-15
打赏
举报
回复
限制5.80的类型,如果你想限制类型,可以用一个元素来限制。
如
<xs:element name="Weather">
<xs:complexType mixed="true">
<xs:sequence >
<xs:element ref="Picture"/>
<xs:element name="Value" type="xs:decimal"/>
</xs:sequence>
</xs:complexType>
<Weather>
<Picture src="Images/pic19.gif" alt="Fine"/>
<Value>5.80</Value>
</Weather>
parazhouyu
2007-10-11
打赏
举报
回复
又有个新的问题产生:
<Weather >
<Picture src="Images/pic19.gif" alt="Fine"/ >
5.80//我只想这里用xs:decimal,怎么来写xsd?
</Weather >
JYYCOM
2007-10-10
打赏
举报
回复
xmlspy和.net都有可视化的编辑工具,直接生成xsd。
cds27
2007-10-10
打赏
举报
回复
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="Weather">
<xs:complexType mixed="true">
<xs:sequence>
<xs:element ref="Picture"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Picture">
<xs:complexType>
<xs:attribute name="src" use="required" type="xs:string">
</xs:attribute>
<xs:attribute name="alt" use="required" type="xs:string">
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
wsdl标准
写法
(含header)
此包中包含1个wsdl和它导入的3个
xsd
文件,描述的报文包含了header和body。
asp.net_spring_nhibernate_oracle
asp.net_spring_nhibernate_oracle 网上关于在.net开发的例子不多,这个例子能跑,遗憾的是,nhibernate在存储过程不完美,在oracle 传回多结果集,只能接受到第一个,官网上也是这样说的。 提示:开发前,先将nhibernate-configuration.
xsd
,nhibernate-mapping.
xsd
,spring-aop-1.1.
xsd
,spring-database-1.3.
xsd
和你能知道所有的
xsd
格式的spring相关文件放入到C:\Program Files\Microsoft Visual Studio 10.0\Xml\Schemas(主要版本和路径),这样写xml才有提示。提示二:Spring.cfg.xml中【objects xmlns="http://www.springframework.net" xmlns:db ="http://www.springframework.net/database" xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" xmlns:tool="http://www.springframework.net/tool" xmlns:aop ="http://www.springframework.net/aop" xsi:schemaLocation="http://www.springframework.net http://www.springframework.net/
xsd
/spring-objects.
xsd
" 】好多地方不加入,这样做没错,但是出现错误不报错。因此一定要加。 提示三:用oracle的,一定要把Oracle.DataAccess.dll放到根目录生成到bin。否则报错, 提示四:当前数据连接oracle传参才能正确,其他
写法
,有,试了都报错。 好了,自己看着xml建立数据库吧
axis2应用指南及helloworld代码--axis2开发之个人开发必备!!
axis2服务端的各种
写法
及客户端的用法及helloworld代码,包配环境部署文件axis2.war 其中 services文件 -
-
cn.sbw.ws.helloworld.server.MyService
- -
引入
XSD
的两种方式
现在的语言,如果不有那么一点OO的影子,都不好意思称之为语言了。在XML的语义约束方面,DTD虽然简单,但是功能不够强大,完全是直白的描述,于是又有了替代DTD的
XSD
(XML Schema Definition),
XSD
引入了数据类型,提供了自定义数据类型的各种机制,甚至还能找到继承、多态等各种OO特征,然而学习起来也就相对复杂了,从这篇笔记开始学习一下
XSD
。1、
XSD
文件是一种XML文件 X
web-app开头
xsd
写法
备用
web.xml 4.0版本的备忘 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http:/
XML/XSL
8,906
社区成员
22,678
社区内容
发帖
与我相关
我的任务
XML/XSL
XML/XSL相关问题讨论专区
复制链接
扫一扫
分享
社区描述
XML/XSL相关问题讨论专区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章