public static bool AbsorbXmlDeclaration(this XmlTranslationModes translationModes)
 {
     return((translationModes & XmlTranslationModes.AbsorbXmlDeclaration) == XmlTranslationModes.AbsorbXmlDeclaration);
 }
 public static bool TranslateAttributeNamespace(this XmlTranslationModes translationModes)
 {
     return((translationModes & XmlTranslationModes.TranslateAttributeNamespace) == XmlTranslationModes.TranslateAttributeNamespace);
 }
Exemplo n.º 3
0
 public XmlTranslatorStream(XmlReader reader, Encoding encoding, XmlNamespaceTranslation[] translations, XmlTranslationModes modes)
     : base(reader, encoding)
 {
     _translations = translations;
     _modes        = modes;
 }