ASP ファイルの変更

XML+CSS Standard Edition プロジェクトと関連付けされている ASP ファイルは、他のテンプレートの ASP ファイルとわずかな違いしかありません。ASP ファイル内のタグを見れば、違いはすぐにわかります。たとえば、出力ファイルの左上の隅に表示されるロゴを変更する場合は、LOGO タグで区切られている情報を変更します。

 <Logo> 
    <Image href="images/quadlogo.gif" width="115" height="54" 
align="left" alt="Put your logo here!"/> 
  </Logo> 

ASP ファイルの他のエレメントも、以下に示すナビゲーション バーのコード例のように、簡単に識別できるタグが付いています。

<Navbar> 
    <TOC> 
      <GotoLink href="$PAGEFIRST(html,name);"> 
        <Image href="images/navtoc.gif" width="84" height="23" 
border="0" alt="TOC" /> 
      </GotoLink> 
    </TOC> 
    <Prev> 
      <GotoLink href="$PAGEPREV(html,name);"> 
        <Image href="images/navprev.gif" width="80" height="23" 
border="0" alt="PREV" /> 
      </GotoLink> 
    </Prev> 
    <Next> 
      <GotoLink href="$PAGENEXT(html,name);"> 
        <Image href="images/navnext.gif" width="83" height="23" 
border="0" alt="NEXT" /> 
      </GotoLink> 
    </Next> 
    <Index> 
      <GotoLink href="$PAGELAST(html,name);"> 
        <Image href="images/navidx.gif" width="84" height="23" 
border="0" alt="INDEX" />  
      </GotoLink> 
    </Index> 
  </Navbar> 

IMAGE タグは画像を区切り、GOTOLINK タグはハイパーリンクを区切ります。テキストの各行を区切るには、以下の連絡先情報のコードのように ITEM タグを使用します。

<ContactInfo> 
    <Item> 
      <GotoLink href="http://www.quadralay.com/"> 
        Quadralay Corporation 
      </GotoLink> 
    </Item> 
    <Item> 
      http://www.quadralay.com 
    </Item> 
    <Item> 
      Voice: (512) 719-3399 
    </Item> 
    <Item> 
      Fax: (512) 719-3606 
    </Item> 
    <Item> 
      <GotoLink href="mailto:support@quadralay.com"> 
        support@quadralay.com 
      </GotoLink> 
    </Item> 
    <Item> 
      <GotoLink href="mailto:sales@quadralay.com"> 
        sales@quadralay.com 
      </GotoLink> 
    </Item>  
  </ContactInfo> 

Quadralay Corporation
Voice: (512) 719-3399
Fax: (512) 719-3606
info@webworks.com