Step 3 - Loading Data Into XStandard
Your content management system will probably store content in a database. In order to load this content into XStandard, your server-side script (ASP, PHP, ColdFusion, etc.) will read content from the database and put it into the <param>
tag called "Value". This is an ASP example:
<object type="application/x-xstandard" id="editor1" width="100%" height="400">
<param name="Value" value="<%=Server.HTMLEncode(strXHTML)%>" />
</object>
In this example, the variable strXHTML contains the content from the database. Note, the content needs to be HTML escaped before it is loaded into the <param>
tag. In ASP, this is done using the Server.HTMLEncode()
function. See Examples for how to do this in ASP.NET, PHP, ColdFusion and JavaServer Pages.