<!-- #include file="../include/inc_config.asp" -->
<!-- #include file="../ajax_asp/temp_single.asp" -->
<!-- #include file="../ajax_asp/temp_global.asp" -->
<!-- #include file="../ajax_asp/temp_index.asp" -->
<!-- #include file="../ajax_asp/temp_defined.asp" -->
<!-- #include file="../ajax_asp/temp_nmbanner.asp" -->
<%
index_var = "about"
webcreate_xmlfile = "/" & edition_value & "/page_data/" & index_var & "_xml.xml"
templatefile_xslt = "/templates/single_view.xslt"
templatefile_xmltxt = setxml_thefile(templatefile_xslt, "singlelists", "$infoitem")
templatexml_node = ""
the_singlexml = get_singlexmldata(index_var, templatexml_node)
templatexml_node = "    <nowpagetitle pindexvar=""$pindexvar"" titlename=""$titlename""><![CDATA[$nowpagetitle]]></nowpagetitle>"
templatexml_node = templatexml_node & vbCrLf & "    <pageposition><![CDATA[$pageposition]]></pageposition>"
If var_null(the_singletopic) = "" Then
    the_singletopic = web_modulelink("singleinfos", edition_id, 0)
    the_singleshort = the_singletopic
End If
templatelist_html = web_position(the_singleshort, edition_id)
templatexml_node = Replace(templatexml_node, "$pindexvar", index_var)
templatexml_node = Replace(templatexml_node, "$titlename", the_singleshort)
templatexml_node = Replace(templatexml_node, "$nowpagetitle", the_singletopic)
templatexml_node = Replace(templatexml_node, "$pageposition", templatelist_html)
templatexml_node = get_xmldatalist(templatexml_node)
templatexml_node = templatexml_node & vbCrLf & the_singlexml
templatexml_node = templatexml_node & vbCrLf & get_indexsingle()
templatexml_node = templatexml_node & vbCrLf & get_definedlist("single")
templatexml_node = templatexml_node & vbCrLf & get_bannerlist(index_var)
templatefile_xmltxt = Replace(templatefile_xmltxt, "$infoitem", templatexml_node)
Call writeTxtFile(webcreate_xmlfile, templatefile_xmltxt)
Call gotourl_redirect(get_nurl)
%>