返回long QName的short或前缀版本。

shortQName(string)

参数

  • string
    long QName

返回值

返回long QName的short或前缀版本。

代码例

var shortQName = utils.shortQName("{http://www.alfresco.org/model/content/1.0}content");

上述代码片段将返回 shortQName:cm:content。

文档更新时间: 2019-07-07 22:33   作者:凌云文档