Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ LoadDocument()

static XPathDocument System.Xml.Xsl.XsltOld.Compiler.LoadDocument ( XmlTextReaderImpl reader)
inlinestaticpackage

Definition at line 447 of file Compiler.cs.

448 {
449 reader.EntityHandling = EntityHandling.ExpandEntities;
451 try
452 {
453 return new XPathDocument(reader, XmlSpace.Preserve);
454 }
455 finally
456 {
457 reader.Close();
458 }
459 }

References System.Xml.XmlTextReaderImpl.Close(), and System.Xml.Dictionary.

Referenced by System.Xml.Xsl.XsltOld.Processor.GetNavigator(), System.Xml.Xsl.XslTransform.Load(), System.Xml.Xsl.XslTransform.Load(), and System.Xml.Xsl.XsltOld.Compiler.ResolveDocument().