.net中xml用样式表输出格式

博客展示了一本关于Beginning ASP.NET 1.0 using C#的书籍信息,包含标题、ISBN、作者、描述和价格等。同时给出了部分样式设置,体现了ASP.NET在动态创建网站内容方面的强大功能。
<?xml version="1.0"?>
<?xml:stylesheet href="books.css" type="text/css" ?>
<books>
<book>
  <title>Beginning ASP.NET 1.0 using C#</title>
   <ISBN>1-861007-34-5</ISBN>
   <authors>
      <author_name>Chris Ullman</author_name>
      <author_name>.Matt Butler </author_name>
      <author_name>John Kauffman</author_name>
      <author_name>Rob Birdwell</author_name>
      <author_name>Chris Goode</author_name>
      <author_name>Gary Johnson</author_name>
      <author_name>Srinavasa Sivakumar</author_name>
      <author_name>Juan Llibre</author_name>
      <author_name> Neil Raybould </author_name>
      <author_name> Chris Miller </author_name>
      <author_name> Dave Sussman </author_name>
   </authors>
   <description> ASP.NET is a powerful technology for dynamically creating web site content. Learn how to create exciting pages that are tailored to your audience. Enhance your web/intranet presence with powerful web applications.</description>
   <price US="$39.99"/>
</book>
</books>
title {
     display:block;
     font-family: Arial, Helvetica;
     font-weight: bold;
     font-size: 20pt;
     color: #9370db;
     text-align: center;
     }
ISBN {
     display:block;
     font-family: Arial, Helvetica;
     font-weight: bold;
     font-size: 12pt;
     color: #c71585;
     text-align: left;
     }
authors {
     display:inline;
     font-family: Arial, Helvetica;
     font-style: italic;
     font-size: 10pt;
     color: #9370db;
     text-align: left;
     }
description {
     display:block;
     font-family: Arial, Helvetica;
     font-size: 12pt;
     color: #ff1010;
     text-align: left;
     }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值