Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : xml

¹ØÓÚC#ÖÐXML²Ù×÷µÄÎÊÌâ - .NET¼¼Êõ / C#

ÓÐÒ»¸öCS½á¹¹µÄ´òÓ¡»ú¹ÜÀí³ÌÐò£¬´ÓXmlÎļþÖжÁÈ¡ÅäÖã¬ÅäÖÃÈçÏÂ
XML code:

<PrintMode type = "4x4">
<Printer id = "0" width = "220" height = "8">
<Print id = "0" direction = "positive" barcodeType = "code128" ......

ÔõôÔÚweb.xmlµ¼ÈëÆäËûxmlÅäÖÃÎļþ - Java / Web ¿ª·¢

ÎÒÏÖÔڸоõÎÒµÄweb.xmlÎļþÓÐÌ«¶àµÄÐÅÏ¢ÁË
Ïë¸øÆä·Ö×°³É¼¸¸öxmlÎļþ
ÎÒÖªµÀÔÚstrutsÖÐÓÐÕâ¸ö¼¼Êõ,µ«ÊÇÎÒÏëÖªµÀÔÚ²»Óÿò¼ÜµÄÇé¿öÏ¿ÉÒÔ.ÅäÖÃÆäËüxmlÀ´ÈÃweb.xmlÀ´¶Áȡô?
strutsÔõôʵÏֵģ¿

<init-param> 
  <param-name> config </param-name> 
  ......

¹ØÓÚXML HTTP µÄÒÉÎÊ - Web ¿ª·¢ / JavaScript

JScript code:
//XML HTTPÇëÇó¶ÔÏóµÄ´´½¨·½·¨
if(typeof XMLHttpRequest == "undefined" && window.ActiveXObject){
function XMLHttpRequest(){
var arrSignatures = ["MSXML2.0.XMLHTTP.5.0","MSXML2.0.XMLHTTP.4.0","MSXML2.0.XMLHTTP.3.0",
......

×î¼òµ¥µÄXMLÎļþ¶ÁÈ¡·½Ê½(dom4j) - Java / ·Ç¼¼ÊõÇø

¶ÁÈ¡XMLÎļþ
Java code:

public class ResourceParse {
public static Document document_en_US = null;
/**
* ¾²Ì¬³ÉÔ±·½·¨
*
* ¸ºÔð ¡¾letter_resource.xml¡¿ ÅäÖÃÎļþ½âÎö²Ù×÷
*/
static {
try {
document_en_US = new SAXReader().read(Thread.cur ......

XMLÐòÁл¯ - .NET¼¼Êõ / C#

ÎÒ²»ÖªµÀÓÐûÓа취¿ÉÒÔ¸øÈÎÒâÒ»¸öÀà½øÐÐÐòÁл¯ºÍ·´ÐòÁл¯²Ù×÷¡£
C# code:

public static void Serial<T>(T[] items, string path)
{
XmlSerializer xmlSerializer = new XmlSerializer(typeof(T[]));
TextWriter writer = new StreamWriter(path);
try
{
xmlSerializer.Serializ ......

ÈçºÎÐÞ¸Äjar°üÖеÄxmlÎļþ - Java / Java SE

ÇëÎÊË­ÖªµÀÔõôÐÞ¸Äjar°üÖеÄxmlÎļþ°¡£¬²»Ïë²ÉÓÃÏȽâѹÐÞ¸ÄÔÚѹËõµÄ°ì·¨£¬ÎļþĿ¼aaa.jarÖÐÓиötemplateÎļþ¼ÐÏÂÃæµÄabc.xml Ïëͨ¹ýjava³ÌÐòÐÞ¸Äabc.xmlÎļþ£¡
Ö»ÊÇÕý³£Ð޸ĵĻ°£¬winrarÖ±½ÓÐ޸ľͿÉÒÔ¡£
³ÌÐòµÄ»°±ØÐëÏȽâѹÔÙѹËõ£¬ÒòΪÐÞ¸ÄÆäÖÐÒ»¸öÎļþ£¬Ñ¹ËõµÄ×ֵ䶼±äÁË¡£

²»Äܸģ¬jar °üÖеĶ«Î÷Ó¦¸ÃÊÇÖ»¶ÁµÄ¡ ......
×ܼǼÊý:834; ×ÜÒ³Êý:139; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³[2] [3] [4] [5] [6] [7] [8] [9] [10]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ