#set($ListChannel=$!$!{ChannelBLL.GetChildChannelList($!{items.ChannelId})})
#set($recordCount=0)   
#set($Channelcount=0)          
    #foreach($item in $!{ListChannel}) 
    #beforeall 
    #each 
    #set($recordCount=$recordCount+1)   
    #set($Channelcount=$Channelcount+1)
         #set($urlPath="")这是什么编码方式??我刚进公司,公司做的网站很多页面都是这样子编码,这是新的编程语言吗?

解决方案 »

  1.   

    这真不是.net中的代码、、、、、、
      

  2.   

    <!ENTITY % TAlign "(left|right|center)"><!ENTITY % WrapMode "(wrap|nowrap)" ><!ELEMENT p (%fields; | do)*><!ATTLIST p  align       %TAlign;     "left"  mode        %WrapMode;   #IMPLIED  xml:lang    NMTOKEN      #IMPLIED  %coreattrs;  >
    ## 子栏目名称
    #set($ListChannel=$!$!{ChannelBLL.GetChildChannelList($!{items.ChannelId})})
    #set($recordCount=0)   
    #set($Channelcount=0)          
        #foreach($item in $!{ListChannel}) 
        #beforeall 
        #each 
        #set($recordCount=$recordCount+1)   
        #set($Channelcount=$Channelcount+1)
             #set($urlPath="")
            #if($!{item.OutwardUrl} && $!{item.OutwardUrl.Length}>0)
                #set($urlPath="$!{CurrentUrlDirectoryPath}$!{VirtualPath}/NewVersion/OutJoinConut?id=0&cid=$!{item.ChannelId}")
                #set($urlPath=$!{HtmlWapHelper.ChangeWapTag($!{urlPath})})
            #else
                #set($urlPath="$!{CurrentUrlDirectoryPath}$!{VirtualPath}/Simple/List/$!{item.ChannelId}")
            #end
            <a href="$!{urlPath}">$!{item.ChannelName}</a>#if($recordCount<$!{ListChannel.Count})&#x7C;#end
            #if(${item.ChannelName.Length}>2)
            #if($Channelcount>1)<br />
            #set( $Channelcount=0)
             #end 
            #else 
             #if($Channelcount>2)<br />
             #set( $Channelcount=0)
             #end 
           #end  
        #afterall
        #end    
    这些代码是html页面的代码,但写完代码后将其后后缀名改为cvs
    像里面Channelcount的定义是在这样的一个xml文件中<!ENTITY % TAlign "(left|right|center)"><!ENTITY % WrapMode "(wrap|nowrap)" ><!ELEMENT p (%fields; | do)*><!ATTLIST p  align       %TAlign;     "left"  mode        %WrapMode;   #IMPLIED  xml:lang    NMTOKEN      #IMPLIED  %coreattrs;  ><!ELEMENT br EMPTY><!ATTLIST br  xml:lang        NMTOKEN       #IMPLIED  %coreattrs;  >
      

  3.   

    <!ENTITY % TAlign "(left|right|center)"><!ENTITY % WrapMode "(wrap|nowrap)" ><!ELEMENT p (%fields; | do)*><!ATTLIST p  align %TAlign; "left"  mode %WrapMode; #IMPLIED  xml:lang NMTOKEN #IMPLIED  %coreattrs;  >
    ==
    这个是DTD
    下面的估计使用了模板替换
      

  4.   

    CVS是并发版本系统(Concurrent   Versions   System)的意思,主流的开   放源码网络透明的版本控制系   
    统。CVS对于从个人开发者到大型,分布团队都是有用的:   这个是控制版本用的吧,绑到控制服务器后自动添加的一些文件吧你确定是.cvs不是.csv?
      

  5.   

    jquery懂吗?学吧,jquery,javascript的框架,。。
      

  6.   

    谢谢大家,不得已问了我们老大原来是Nvelocity模板代码