如何在 XMLSchema 中允许 xml:lang 属性? [英] How to allow xml:lang attribute in XMLSchema?

查看:26
本文介绍了如何在 XMLSchema 中允许 xml:lang 属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想允许在我的 XMLSchema 的某些元素中使用 xml:lang 属性.但我找不到任何描述如何操作的内容.是的,我的问题就这么简单.

I want to allow the use of xml:lang attributes in some of my element of my XMLSchema. But i can't find anything which describes how to to it. Yeah, my question is simple as that.

推荐答案

您可以使用 xmlschema 类型创建自己的属性 language,或参考 xml:lang 属性,如示例 导入另一个 XML 模式.我希望这会有所帮助.

You can either create your own attribute with xmlschema type language, or reference xml:lang attribute as in the example Import another XML schema. I hope this will help.

这篇关于如何在 XMLSchema 中允许 xml:lang 属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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