XMLµÚÒ»¿Î
HTML.htmlÎļþ
<div align="center" class="style1">
<p>±ù¹÷Áбí</p>
<p></p>
<table width="400" border="1">
<tr>
<th scope="col"><font size="4">Æ·ÅÆ</font></th>
<th scope="col"><font size="4">ζµÀ</font></th>
<th scope="col"><font size="4">¼Û¸ñ</font></th>
<th scope="col"><font size="4">Éú²ú³§ÉÌ</font></th>
</tr>
<tr>
<td><font size="3">´óºì¹û</font></td>
<td><font size="3">ÖÐ</font></td>
<td><font size="3">1.0</font></td>
<td><font size="3">IBM</font></td>
</tr>
<tr>
<td><font size="3">Ë«°ô</font></td>
<td><font size="3">²î</font></td>
<td><font size="3">0.6</font></td>
<td><font size="3">±±±ùÑó¹ú¼ÊÀäÒûÑо¿ÖÐÐÄ</font></td>
</tr>
<tr>
<td><font size="3">ÃÎÁú</font></td>
<td><font size="3">ºÃ</font></td>
<td><font size="3">3.0</font></td>
<td><font size="3">Microsoft</font></td>
</tr>
</table>
</div>
HTML2
Ïà¹ØÎĵµ£º
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Xml;
using FilmOnLine.Model;
namespace FilmOnLine.DAL
{
public static class FilmService
{
/// <summary>
/// Ìí¼ÓµçÓ°
/// </summary ......
½ñÌìÔÚÔËÓÃspringµÄPropertyPlaceholderConfigurerʱ·¢ÏÖÒ»¸öÓÐÒâ˼µÄÄÚÈÝ£¬µ±ÄãÔÚapplicationContextÖÐÅäÖÃÒ»¸öPropertyPlaceholderConfigurerµÄbeanʱ£¬ÓÐlocationºÍlocationsµÄÊôÐÔ£¬²»Ã÷˼Òâlocation¶ÔÓ¦Ò»¸ö.propertiesÎļþ£¬
locations¶ÔÓ¦¶à¸ö.propertiesÎļþ£¬³å×ÅÏë¿´Ò»ÏÂPropertyPlaceholderConfigurerµÄʵÏÖ»úÖ ......
//»ñÈ¡Êý¾Ý¿âÊý¾Ý·µ»Ølist
public List queryAll(int fcateId) {
List list = new ArrayList();
String sql = "select * from g_Account where fCateID=? order by fCode";
Connection con = SqlHelp.getConn();//»ñµÃÁ¬½Ó£¬sqlhelp×Ô¼ºÐ´µÄ¹¤¾ßÀà
PreparedStatement pst = null;
ResultSet rs = null;
......
XML (EXtensible Markup Language)
XML is a
cross-platform, software and hardware independent tool for transmitting
information.
Prolog
XML
Declaration
Processing
Instructions
DOCTYPE
Declaration
Elements
Attributes
XML
Comments
CDATA
Sections
Character
and Entity Refere ......
×î½üÔÚÏîÄ¿ÖÐÓöµ½flex¿çÓò·ÃÎʵݲȫɳÏäÎÊÌ⣬²é×ÊÁÏÁ˽⵽ÐèÒªÔÚ·þÎñ¶Ë¼ÓÉÏcrossdomain.xmlÎļþ£¬¼´£º
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-do ......