• Application of HTML and CSS in flash


    Application of HTML and CSS in flash:I accidentally saw my colleague den making a small thing: Using HTML and CSS in flash. The code is as follows:var myStyle:TextField.StyleSheet = new TextField.StyleSheet();myStyle.load(“sample.css“);content_txt.styleSheet = myStyle;content_txt.multiline= true;content_txt.wordWrap = true;content_txt.html = true;var story:XML = new XML();story.ignoreWhite = true;story.load(“sample.html”);story.onLoad = function () {content_txt.htmlText = story;} This is to load external […]

  • Introduction to XML processing module of Perl


    1. Find existing modules http://search.cpan.org/ 2. Input XML query and select the module with high evaluation that can meet your own needs: XML::Simple use warnings; use XML::Simple; use Data::Dumper; #Convert XML file to hash result   Copy codeThe code is as follows: my $xml=XMLin(‘abstract_sample.xml’); open(HASH,’>>XML_hash’)||die”can not open the file: $!”; print HASH Dumper($xml);   #To […]

  • Idea using easyUI’s DataGrid mouse over to display cell content is very simple


    Header may be used 1. EasyUI table HTML file code Focus on the formatter attribute inside < table id = “findall” class = “easyUI DataGrid” title = “user data information” style = “width: Auto; height: Auto” data-options=”singleSelect:true,toolbar:’#yuangong_toolbar’, striped:true,rownumbers:true, pageList:[5,10,20], pageSize:5, fitColumns:true,pagination:true”> <thead> <tr> < th field = “Sid” style = “width: 30px” formatter = “formatshow” […]

  • Unity uses XML to make a simple login system


    It is a simple login system that saves the account and password through XML file and stores it locally without connecting to the database. 1. Create an XML file and set an initial account password. public void Creat() { localPath = UnityEngine.Application.streamingAssetsPath + “/” + “MyXML.xml”; if (!File.Exists(localPath)) { XmlDocument xml = new XmlDocument(); XmlDeclaration […]

  • A simple example of reading XML files with Ajax


    At this point, you can send a request to read the XML data on the server. The last thing to do is to process the data. For the XMLHttpRequest object, please refer to the article about XMLHttpRequest object. Take an example: //AjaxDemo.html <!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> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <title>Asynchronous JavaScript And XML</title> </head> <body> <script type=”text/javascript”> var xmlHttp=null; function readyStateChangeHandle() {     if(xmlHttp.readyState==4)     { […]

  • Change your posture to meet excel


    In an accident, the mouse right clicked on an excel file It is found that this product is actually a compressed file. After decompression, it is found that it contains the following files (for reference only) Most of them are in XML format (a little surprise). The following figure shows the view of Excel file […]

  • Problems that should be paid attention to in the self closing writing of XHTML Tags


    The IMG tag in XHTML is also called self closing, which is completely legal in XML.XHTMLThe IMG tag inside should be written like this: < img ALT = “” SRC = “” / >. This writing method is called self closing, which is completely legal in XML. If you are not used to writing XML […]

  • XHTML web tutorial


    This article is mainly for beginners to understand some basic knowledge of XHTML and some differences between XHTML and HTML. I hope it will be helpful for beginners.This article is mainly for beginners to understand some basic knowledge of XHTML and some differences between XHTML and HTML. I hope it will be helpful for beginners.HTML […]

  • [introduction to XML] an article that you have never heard of is used skillfully


    preface Today, let’s continue to learn the XML of [Java Web]. XML is very simple compared with other parts. We will often use it when writing large projects in the future, so it is still very important. Next, let’s officially start learning XML. catalogue preface XML overview XML syntax XML constraints DTD constraints XSD constraint […]

  • [ctf web][GoogleCTF2019 Quals]Bnv writeup


    [GoogleCTF2019 Quals]Bnv Grab bag It’s in JSON format. Can I type xxE if I change JSON to XML format Content-type: application/json Content-type: application/xml First, construct DTD, declare entity B and declare element message In fact, the previous topics do not need to declare elements. If they are not declared here, they will be reported No […]

  • XML quick start (1)


    Article catalogue Introduction to XML XML element brief introduction XML validation Validate XML against DTD Displaying XML using CSS and XSLT XML DOM XML application Introduction to XML (from rookie tutorial) XML is designed to transmit and store data. Html is designed to display data. XML tags are not predefined. You need to define your […]

  • JS loads the XML file and sends it to the implementation code of the server


    Front desk: Copy codeThe code is as follows: <!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> < title > JS loads the XML file and sends it to the server < / Title ><script type=”text/javascript”><!– var xmlHttp = null; function f(){ var xmlDoc = new ActiveXObject(“Msxml2.DOMDocument.3.0”); xmlDoc.async = false; xmlDoc. load(“xmlfile.xml”);// […]