commit 2025-08-23 21:30 edit a bit ZCppMain/ZMainXhtml.H
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#define __ZNSMAIN_ZTCLOADXML_H__
|
||||
|
||||
|
||||
#include "ZCppMain/ZMainXhtml.H"
|
||||
#include "ZCppMain/ZtCStringEx.H"
|
||||
#include "ZCppMain/ZtCTreeData.H"
|
||||
#include "ZCppMain/ZtCObjList.H"
|
||||
@ -22,27 +23,6 @@ namespace ZNsMain
|
||||
namespace ZNsView*/
|
||||
|
||||
|
||||
template<typename TCStringData> TCStringData& ZftMakeXmlAttEnc(TCStringData& ARR_CStringData)
|
||||
{
|
||||
return ARR_CStringData.
|
||||
|
||||
Replace("&" ,"&" ).Replace("\r", "
").
|
||||
Replace("\n", "
" ).Replace("\t", "	").
|
||||
Replace("\"", """).Replace(">" , ">" ).Replace("<", "<" );
|
||||
}/*
|
||||
template<typename TCStringData> TCStringData& ZftMakeXmlAttEnc(TCStringData& ARR_CStringData)*/
|
||||
|
||||
template<typename TCStringData> TCStringData& ZftMakeXmlAttDec(TCStringData& ARR_CStringData)
|
||||
{
|
||||
return ARR_CStringData.
|
||||
|
||||
Replace("
" ,"\r" ). Replace("
" ,"\n" ).
|
||||
Replace("	" ,"\t" ). Replace(""","\"" ).
|
||||
Replace(">" ,">" ). Replace("<" ,"<" ). Replace("&" ,"&" );
|
||||
}/*
|
||||
template<typename TCStringData> TCStringData& ZftMakeXmlAttDec(TCStringData& ARR_CStringData)*/
|
||||
|
||||
|
||||
namespace ZNsType
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user