³¬¼¶´ó±¿ÀÇÖйúÏóÆå(js+xml)
<html xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<STYLE>
v\:* { Behavior: url(#default#VML) }
body {
background-color:DarkGoldenrod;
margin-left: 10px;
margin-top: 10px;
}
</STYLE>
<title>³¬¼¶´ó±¿ÀÇÏóÆå</title>
</head>
<body onselectstart="document.selection.clear();" onclick="target();" oncontextmenu="selectNull();return(false);">
<v:group style="top:0;left:0;width:400px;height:450px;position:relative;" CoordOrig="0,0" CoordSize="400,450">
<v:Rect id=qiPan style="position:relative;width:460;height:510px;top=-30;left=-30;Z-INDEX:1;" fillColor="#f0e68c" StrokeWeight="2">
<v:TextBox inset="80pt,180pt,1pt,1pt" style="Z-INDEX:2;font-size=24;font-weight:bold;position:relative;letter-spacing: 2em;color='#CC9933';FILTER: glow(color=#ffffff,strength=1) alpha(opacity=90);cursor:default;"> ³þºÓºº½ç</v:TextBox >
<v:shadow on="Ture" type="single" color="#8b4513" offset="3px,3px"/>
</v:Rect>
<v:line from="0,0" to="400,0" style="Z-INDEX:3;FILTER: " strokeweight="1pt" > </v:line>
<v:line from="0,50" to="400,50" style="Z-INDEX:3;FILTER: " strokeweight="1pt" > </v:line>
<v:line from="0,100" to="400,100" style="Z-INDEX:3;FILTER: " strokeweight="1pt" > </v:line>
<v:line from="0,150" to="40
Ïà¹ØÎĵµ£º
PerlµÄXML::DOM¹¦ÄܺÜÇ¿´ó£¬ÀûÓÃËü¿ÉÒÔÇáÒ׵طÖÎöXMLÎĵµ£¬Ò²¿ÉÒÔ½¨Á¢XMLÎĵµ¡£
³£ÓõÄÀà°üÀ¨£º
XML::DOM::Node£ºËùÓÐÀàµÄ»ùÀ࣬±íʾһ¸öXML½Úµã¡£
XML::DOM::Parser£ºXML½âÎöÆ÷£¬½«XML×Ö·û´®½âÎö³ÉXML::DOM::Document¶ÔÏó¡£
XML::DOM::Document£ºÖ¸ÏòXMLÎĵµµÄ¸ù½Úµã¡£
XML::DOM::Element£ºÖ¸ÏòÒ»¸öÔªËØ£¬Í¨³£ÓÉXML:: ......
function init() {
var viewChartID = 0;
var viewChartSum = "" ;
reportName = document.getElementById("reportName").value;
xmlDoc=loadXMLDoc("./charreport/xml/viewChart.xml");
x=xmlDoc.getElementsByTagName('viewChart')[0].childNodes;
for (i=0;i<x.length;i++ ......
×î½üÔÚ×öNetConfÏà¹Ø¿ª·¢¹¤×÷£¬ÆäÖкÜÖØÒªµÄÒ»¿éÊÇXML½âÎö£¬ÏîĿҲÐèÒªÖ§³ÖSchema£¬Òò´Ëǰ¶Îʱ¼äÕûÀíÁËSchemaµÄÁ½²¿·Ö±ê×¼£¬Ö»²»¹ýÕûÀíÎĵµÊÇÎÞ·¨´ø³öÀ´µÄ£¬ËùÒÔ¾ÍÔڴ˰ÑSchemaÏà¹ØµÄÄÚÈݼòµ¥½éÉÜÆä±ê×¼Ö®ºó£¬ÒÔÈçºÎÓ¦Óõķ½Ê½¼Ç¼ÏÂÀ´£¬ÒÔ¹©ÒÔºóʹÓÃʱ²Î¿¼¡£ÔÚºóÐøµÄ²¿·Ö£¬ÎÒ» ......
/*
* Ö÷Òª×÷ÓÃ;
* ´Óxml¶ÁÈ¡ÓÎÏ·ÅäÖÃÐÅÏ¢»ò±£´æ
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Forms;
using System.IO;
using System.Xml;
using System.Reflection;
namespace Game
{
class Config
{
Ke ......
XML ÃüÃû¿Õ¼äÌṩÁËÒ»ÖÖ±ÜÃâÔªËØÃüÃû³åÍ»µÄ·½·¨¡£
ÃüÃû¿Õ¼äÊôÐÔÒ»°ã·ÅÖÃÔÚÔªËØµÄ¿ªÊ¼±ê¼Ç´¦£¬ÆäʹÓÃÓï·¨ÈçÏÂËùʾ:
xmlns:namespace-prefix="namespace"£¬
ÀýÈ磺xmlns:f="http://www.w3schools.com/furniture"
W3C ÃüÃû¹æ·¶ÉùÃ÷ÃüÃû¿Õ¼ä±¾Éí¾ÍÊÇÒ»¸öͳһ×ÊÔ´±êʾ·û£¬Uniform Resource Identifier (URI)¡£
asp.net¶ÁÈ¡X ......