何时为 xmlns 使用 URN [英] when to use a URN for xmlns

查看:25
本文介绍了何时为 xmlns 使用 URN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于hello world"类型的 xml 文档:

For a "hello world" type xml document:

<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.w3.org/TR/REC-xml-names/ -->
<bk:book xmlns:bk="urn:loc.gov:books" xmlns:isbn="urn:ISBN:0-395-36341-6">
  <bk:title>Cheaper by the Dozen</bk:title>
  <isbn:number>1568491379</isbn:number>
</bk:book>

您可以随意定义骨灰盒用于自定义目的吗?

you can arbitrarily define urn's on the fly for custom purposes?

推荐答案

简而言之,是的.你可以随心所欲地制作它们.

In short, yes. You can make 'em up as you like.

这篇关于何时为 xmlns 使用 URN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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