有没有办法更改 xsd:element 的默认类型? [英] is there any way to change the default type for xsd:element?

查看:44
本文介绍了有没有办法更改 xsd:element 的默认类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 如果我在没有明确指定类型的情况下声明一个 xsd 元素:<xsd:element name="e"> 假定的类型是什么?

有没有办法改变默认类型"?

Is there any way to change the "default type" ?

推荐答案

  1. 它是 ur 类型,http://www.w3.org/TR/xmlschema-1/#ur-type-itselfanyType.所以一切顺利!
  2. 我不知道
  1. It is the ur-type, http://www.w3.org/TR/xmlschema-1/#ur-type-itself, or anyType. So anything goes!
  2. Not that I'm aware of

这篇关于有没有办法更改 xsd:element 的默认类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆