示例#1
0
        public IElement create(IElement metaClass)
        {
            var node = new XElement("item");
            if (metaClass != null)
            {
                node.Add(new XAttribute(XmlElement.typeAttribute, metaClass.GetUri()));
            }

            return new XmlElement(node);
        }