/// <summary>Construct a <c>DomDestination</c></summary> /// <remarks>With this constructor, the system will create a new DOM Document /// to act as the destination of the query or transformation results. The document /// node of the new document may be retrieved via the XmlDocument property.</remarks> public DomDestination() { builder = new JDotNetDomBuilder(); }
/// <summary>Construct a <c>DomDestination</c> based on an existing Element node.</summary> /// <remarks>The new data will be added as a child of the supplied element node.</remarks> /// <param name="attachmentPoint">The element node to which new contents will /// be attached. The new contents will be added after any existing children.</param> public DomDestination(XmlElement attachmentPoint) { builder = new JDotNetDomBuilder(); builder.setAttachmentPoint(attachmentPoint); }
/// <summary>Construct a <c>DomDestination</c>.</summary> /// <remarks>With this constructor, the system will create a new DOM Document /// to act as the destination of the query or transformation results. The document /// node of the new document may be retrieved via the <c>XmlDocument</c> property.</remarks> public DomDestination() { builder = new JDotNetDomBuilder(); destination = new net.sf.saxon.dotnet.DotNetDomDestination(builder); }