如何在c#中读取xsd文档值

时间:2016-10-31 19:21:32

标签: c# xml xsd

如何在c#中读取xsd文档值?

示例:

    XmlSchemaAttribute awdaw = new XmlSchemaAttribute();
    XmlSchemaAnnotation annotation = new XmlSchemaAnnotation();
    XmlSchemaDocumentation doc = new XmlSchemaDocumentation();

    doc.Markup = TextToNodeArray("description");
    doc.Language = "en";
    annotation.Items.Add(doc);
    awdaw.Annotation = annotation;
    readXMLdocumentation(awdaw);

    string readXMLdocumentation(XmlSchemaAttribute att)
    {
        var wada = new XmlSchemaAnnotation();
        wada = att.Annotation;
        wada.Items.??????
    }

但我如何获得文档价值?

0 个答案:

没有答案