// ------------------------------------------------------------------------------
//
// Generated by Xsd2Code. Version 3.4.0.38967
// schemasListCSharpFalseFalseFalseFalseFalseFalseFalseFalseFalseFalseFalseFalseNet20SerializeDeserializeSaveToFileLoadFromFileFalseFalseFalseFalseFalseDefaultUTF8FalseTrue
//
// ------------------------------------------------------------------------------
using System.Xml.Linq;
namespace Npoi.Core.OpenXmlFormats
{
using Npoi.Core.OpenXml4Net.Util;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
[Serializable]
[XmlType(Namespace = "http://schemas.openxmlformats.org/schemaLibrary/2006/main")]
public class CT_SchemaLibrary
{
private List schemaField;
public CT_SchemaLibrary()
{
this.schemaField = new List();
}
[XmlElement("schema")]
public List schema
{
get
{
return this.schemaField;
}
set
{
this.schemaField = value;
}
}
}
[Serializable]
[XmlType(Namespace = "http://schemas.openxmlformats.org/schemaLibrary/2006/main")]
public partial class CT_Schema
{
private string uriField;
private string manifestLocationField;
private string schemaLocationField;
public static CT_Schema Parse(XElement node, XmlNamespaceManager namespaceManager)
{
if (node == null)
return null;
CT_Schema ctObj = new CT_Schema();
ctObj.uri = XmlHelper.ReadString(node.Attribute("w:uri"));
ctObj.manifestLocation = XmlHelper.ReadString(node.Attribute("w:manifestLocation"));
ctObj.schemaLocation = XmlHelper.ReadString(node.Attribute("w:schemaLocation"));
return ctObj;
}
internal void Write(StreamWriter sw, string nodeName)
{
sw.Write(string.Format("");
sw.Write(string.Format("", nodeName));
}
public CT_Schema()
{
this.uriField = "";
}
[DefaultValueAttribute("")]
[XmlAttribute]
public string uri
{
get
{
return this.uriField;
}
set
{
this.uriField = value;
}
}
[XmlAttribute]
public string manifestLocation
{
get
{
return this.manifestLocationField;
}
set
{
this.manifestLocationField = value;
}
}
[XmlAttribute]
public string schemaLocation
{
get
{
return this.schemaLocationField;
}
set
{
this.schemaLocationField = value;
}
}
}
}