MSPPageOptions[opts]
sets global options for the current page.


MSPPageOptions
MSPPageOptions[opts]
sets global options for the current page.
Details
- The following options can be set by MSPPageOptions:
-
ContentType sets the content type of the returned page MinimumVersion requires that the page runs in particular versions of Wolfram Web Engine - The following exception can be thrown by MSPPageOptions:
-
MSPException["VersionError"] if an older version of Wolfram Web Engine is requested - The ContentType option provides similar functionality to MSPReturn. It is different in that it returns the entire page, whereas MSPReturn returns only its first argument.
Examples
Basic Examples (1)
In this example, the ContentType option is set to return MathML. If the browser is configured correctly, it will launch an appropriate MathML helper application:
<msp:evaluate>
MSPPageOptions[ ContentType -> "text/mathml"]
</msp:evaluate>
<msp:evaluate>
MSPFormat[ Integrate[ 1/(1-x^3),x], StandardForm, RawMathML]
</msp:evaluate>
In this example, the MinimumVersion option is set to require that the page should be run in Wolfram Web Engine Version 3.0 or higher. Otherwise, an MSPException will be thrown:
This option is provided for use in future versions of Wolfram Web Engine.
Text
Wolfram Research (1996), MSPPageOptions, Wolfram Language function, https://reference.wolfram.com/language/WolframWebEngine/ref/MSPPageOptions.html.
CMS
Wolfram Language. 1996. "MSPPageOptions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/WolframWebEngine/ref/MSPPageOptions.html.
APA
Wolfram Language. (1996). MSPPageOptions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/WolframWebEngine/ref/MSPPageOptions.html
BibTeX
@misc{reference.wolfram_2025_msppageoptions, author="Wolfram Research", title="{MSPPageOptions}", year="1996", howpublished="\url{https://reference.wolfram.com/language/WolframWebEngine/ref/MSPPageOptions.html}", note=[Accessed: 25-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_msppageoptions, organization={Wolfram Research}, title={MSPPageOptions}, year={1996}, url={https://reference.wolfram.com/language/WolframWebEngine/ref/MSPPageOptions.html}, note=[Accessed: 25-August-2025]}