standalone Property
Sets the value of the standalone
attribute in the XML declaration to "yes"
or "no"
. Boolean. Read/write.
Visual Basic Implementation Syntax
Property Let IMXWriter_standalone(ByVal RHS As Boolean)
Property Get IMXWriter_standalone() As Boolean
Visual Basic Usage Syntax
oMXXMLWriter.standalone = boolValue
boolValue = oMXXMLWriter.standalone
C/C++ Syntax
[propput]
HRESULT standalone (
[in] VARIANT_BOOL fValue);
[propget]
HRESULT standalone (
[out, retval] VARIANT_BOOL * fValue);
Parameters
fValue
Boolean.
Return Values
S_OK
The value returned if no errors are reported.
Remarks
Value | Description |
---|---|
True | Sets the value of the standalone attribute to "yes". |
False (default) | Sets the value of the standalone attribute to "no". |
The XSLProcessor
object implements the standalone
property as follows:
Setting this property at run time is not implemented.
When read, this property returns the current value (if specified by the user) for
<xsl:output>
in the XSLT style sheet used by the processor. Otherwise, a default value of VARIANT_FALSE is returned.
Versioning
Implemented in: MSXML 3.0 and later
Applies to
See Also
MXHTMLWriter CoClass
MXXMLWriter CoClass
Sample XML File (books.xml)