1 创建xml文档 //保存所有xml文件的数据 XmlDocument doc = new
XmlDocument(); //加载 头部 XmlNode xmlNode = doc.CreateNode(XmlNodeType.X...
分类:
其他好文 时间:
2014-05-28 21:25:06
阅读次数:
234
问题描述使用SDK Manager更新时出现问题Failed to fetch URL
https://dl-ssl.google.com/android/repository/repository-6.xml, reason:
Connection to https://dl-ssl.google...
分类:
移动开发 时间:
2014-05-28 19:02:40
阅读次数:
44763
using System;using System.Collections.Generic;using
System.ComponentModel;using System.Data;using System.Drawing;using
System.Linq;using System.Text;u...
分类:
Web程序 时间:
2014-05-28 18:29:46
阅读次数:
378
以下是我学习webService视频的学习笔记:Java类和XML之间的转换.编排:class转换为XML反编排:xml转换为classJava读取xml三种方式StreamEventXpathJava中使用XMLStreamWriter写入XMLJava中使用TransFormer修改XML1.J...
分类:
编程语言 时间:
2014-05-28 16:39:26
阅读次数:
366
在写LINQ语句的时候,往往会看到.AsEnumerable() 和
.AsQueryable() 。例如:string strcon ="Data Source=.\\SQLEXPRESS;Initial
Catalog=Db_Example;Persist Security Info=True;...
分类:
其他好文 时间:
2014-05-28 16:07:41
阅读次数:
418
//解析xml字符串 public void readStringXml(String
xml){Document doc=null;try { //将字符转化为XML doc=DocumentHelper.parseText(xml); ...
分类:
其他好文 时间:
2014-05-28 15:22:53
阅读次数:
264
文件存放位置全局配置:${M2_HOME}/conf/settings.xml用户配置:${user.home}/.m2/settings.xmlnote:用户配置优先于全局配置。${user.home}和和所有其他系统属性只能在3.0+版本上使用。请注意windows和Linux使用变量的区别。s...
分类:
其他好文 时间:
2014-05-28 14:47:31
阅读次数:
311
一.@代表引用资源1.引用自定义资源。格式:@[package:]type/nameandroid:text="@string/hello"2.引用系统资源。格式:@android:type/name
android:textColor="@android:color/opaque_red"注意:其...
分类:
移动开发 时间:
2014-05-28 12:52:09
阅读次数:
329
1.将一个sentenceresult对象写入xml,并保存 private void
writeToXml(sentenceresult sr) { System.Xml.Serialization.XmlSerializer writer =
...
分类:
其他好文 时间:
2014-05-28 12:00:37
阅读次数:
220