Przeglądaj źródła

2003-08-21 Atsushi Enomoto <[email protected]>

	* XslVariable.cs : use newly introduced XmlNodeWriter.ctor(false) to
	  support for tree fragment, not only for single element.

svn path=/trunk/mcs/; revision=17476
Atsushi Eno 22 lat temu
rodzic
commit
accfeee29c

+ 5 - 0
mcs/class/System.XML/Mono.Xml.Xsl.Operations/ChangeLog

@@ -1,3 +1,8 @@
+2003-08-21 Atsushi Enomoto <[email protected]>
+
+	* XslVariable.cs : use newly introduced XmlNodeWriter.ctor(false) to
+	  support for tree fragment, not only for single element.
+
 2003-08-20 Ben Maurer  <[email protected]>
 
 	* XslComment.cs, XslMessage.cs, XslProcessingInsturction.cs:

+ 1 - 1
mcs/class/System.XML/Mono.Xml.Xsl.Operations/XslVariable.cs

@@ -45,7 +45,7 @@ namespace Mono.Xml.Xsl.Operations {
 			if (select != null) {
 				return p.Evaluate (select);
 			} else if (content != null) {
-				XmlNodeWriter w = new XmlNodeWriter ();
+				XmlNodeWriter w = new XmlNodeWriter (false);
 				//TODO: which outputter should be used here?
 				Outputter outputter = new XmlOutputter(w, p.Outputs);
 				p.PushOutput (outputter);