protected void LoadStylesheetFromReader(XmlReader reader, XsltSettings settings, XmlResolver resolver) { if (SupportCharacterMaps) { var cmr = new CharacterMappingXmlReader(reader); CompiledTransform.Load(cmr, settings, resolver); _characterMap = cmr.CompileCharacterMapping(); } else { CompiledTransform.Load(reader, settings, resolver); } }
public CharacterMappingXmlWriter(CharacterMappingXmlReader reader, XmlWriter baseWriter) : base(baseWriter) { _reader = reader; }