易截截图软件、单文件、免安装、纯绿色、仅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

破解apk 包下面的layout xml 文件

关于.apk 文件解压后反编译方法:[仅layout package下的xml 文件]
使用AXMLPrinter将其转换为可读的xml文件:
命令如下:
java -jar AXMLPrinter2.jar main.xml > new_main.xml

AXMLPrinter2.jar工具下载地址:http://code.google.com/p/android4me/downloads/list ......

GridView 操作XML文件

<?xml version="1.0" standalone="yes"?>
<imgs>
<pic name="/adv_pic/1.jpg" url="http://www.baidu.com/" title="test" />
<pic name="/adv_pic/2.jpg" url="http://www.baidu.com/" title="test" />
<pic name="/adv_pic/3.jpg" url="http://www.baidu.com/" title="test" />
<pic name="/adv_pic/4.jpg" url="http://www.baidu.com/" title="test" />
<pic name="/adv_pic/5.jpg" url="http://www.baidu.com/" title="test" />
</imgs>

<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server" ......

读取xml并绑定gridview

<?xml version="1.0" encoding="utf-8" ?>
<ExamPaper Name="我的第一期试卷" BeginDate="2009-3-4" EndDate="2009-12-30" Scort="150" UserTime="100" FK_UserType="1" FK_AdminUser="1">
<Question PKID="问题编号0" Name="问题内容0" FK_QuestionType="单选题">
<QuestionItem PKID="答案选项编号0" IsRight="0">答案选项内容0 </QuestionItem>
<QuestionItem PKID="答案选项编号1" IsRight="0">答案选项内容1 </QuestionItem>
<QuestionItem PKID="答案选项编号2" IsRight="0">答案选项内容2 </QuestionItem>
<QuestionItem PKID="答案选项编号3" IsRight="0">答案选项内容3 </QuestionItem>
<QuestionItem PKID="答案选项编号4" IsRight="0">答案选项内容4 </QuestionItem>
</Question>
<Question PKID="问题 ......

Parsing XML from the Net Using the SAXParser


Parsing XML from the Net - Using the SAXParser
http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html
What you learn:
You will learn how to properly parse XML
(here: from the net
) using a SAXParser
.
What it will look like:
Description:
0.)
In this tutorial we are going to parse the following XML-File located at the following url: http://www.anddev.org/images/tut/basic/parsingxml/example.xml
:
XML:
<?xml
version
="1.0"
?>
<outertag>
     <innertag
sampleattribute
="innertagAttribute"
>
          <mytag>
               anddev.org rulez =)
          </mytag>
          <tagwithnumber
thenumber
="1337"
/>
     </innertag>
</outertag>
To accomplish the parsing, we are going to use a SAX-P ......

DataSet序列化输出到XML(并指定输出XML标准)

 public partial class Form1 : Form
    {
        DataSet ds = new DataSet();
        public Form1()
        {
            InitializeComponent();
        }
        private void button1_Click(object sender, EventArgs e)
        {        
            string str = ds.GetXml();
            SaveToXml(str);
        }
        /// <summary>
        /// 输出指定文件到指定文件
        /// </summary>
  ......

FusionCharts 的XML标签属性

FusionCharts 的 XML标签属性有一下四种数据类型
* Boolean - 布尔类型,只能为1或者0。例如:<graph showNames=’1′ >
* Number - 数字类型,只能为数字。例如:<graph yAxisMaxValue=’200′ >
* String - 字符串类型,只能为字符串。例如: <graph caption=’My Chart’ >
* Hex Color Code - 十六进制颜色代码,前边没有’#’.例如: <graph bgColor=’FFFFDD’ >
XML中的标签和属性有:
<graph> 所具有的属性
flash背景参数:
* bgColor=”HexColorCode” : 设置flash的背景颜色
* bgAlpha=”NumericalValue(0-100)” : 设置背景的透明度
* bgSWF=”Path of SWF File” : 设置一个外部的Flash 为flash的背景
图表背景参数:
* canvasBgColor=”HexColorCode” : 设置图表背景的颜色
* canvasBaseColor=”HexColorCode” : 设置图表基部的颜色
* canvasBaseDepth=”Numerical Value” : 设置图表基部的高度
* canvasBgDepth=”Numerical Value” : 设置图表背景的深度
* showCanvasBg=” ......
总记录数:815; 总页数:136; 每页6 条; 首页 上一页 [32] [33] [34] [35] 36 [37] [38] [39] [40] [41]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号