Ejemplo n.º 1
0
 private void WriteDocument(XmlWriter writer)
 {
     // declare the atom10 namespace upfront for compactness
     writer.WriteAttributeString(Atom10Constants.Atom10Prefix, Atom10FeedFormatter.XmlNsNs, Atom10Constants.Atom10Namespace);
     AtomPub10ServiceDocumentFormatter.WriteCategoriesInnerXml(writer, this.Document, null, this.Version);
 }
 private void WriteDocument(XmlWriter writer)
 {
     writer.WriteAttributeString("a10", "http://www.w3.org/2000/xmlns/", "http://www.w3.org/2005/Atom");
     AtomPub10ServiceDocumentFormatter.WriteCategoriesInnerXml(writer, base.Document, null, this.Version);
 }