private XslNode XslElement()
{
ContextInfo ctxInfo = _input.GetAttributes(_elementAttributes);
string name = ParseNCNameAttribute(0); ;
string ns = ParseStringAttribute(1, "namespace");
CheckError(ns == XmlReservedNs.NsXmlNs, /*[XT_024]*/SR.Xslt_ReservedNS, ns);
bool inheritNamespaces = ParseYesNoAttribute(2, "inherit-namespaces") != TriState.False;
if (!inheritNamespaces) ReportNYI("xsl:copy[@inherit-namespaces = 'no']");
ParseTypeAttribute(4);
ParseValidationAttribute(5, /*defVal:*/false);
List<XslNode> content = new List<XslNode>();
if (_input.MoveToXsltAttribute(3, "use-attribute-sets"))
{
AddUseAttributeSets(content);
}
return SetInfo(f.Element(name, ns, _input.XslVersion),
LoadEndTag(LoadInstructions(content)), ctxInfo
);
}