The editor brings you an article on how to generate PDF elegantly in HTML. Key code The content in the script is xdoc. For instructions, see: http://myxdoc.sohuapps.com/xml.html_forma</p> <p><span style="line-height: 1.76em;">1. <a href="http://www.php.cn/div-tutorial-361118.html" target="_blank">Use HTML to generate a PDF example code</a></span> </p> <p><span style="line-height: 1.76em;"><img src="https://img.php.cn/upload/article/000/001/506/154f0cba3a1adaca8fadb3334f8b499a.png" style="max-width:90%" alt="10 recommended articles about xdoc" ></span></p> <p><span style="line-height: 1.76em;">Introduction: This method perfectly combines XDOC tags with HTML, and outputting documents such as pdf is exactly the same as outputting html. You can use jsp, php, asp, freemarker, etc. to dynamically output documents. </span></p> <p><span style="line-height: 1.76em;">2. <a href="http://www.php.cn/div-tutorial-361010.html" target="_blank">Example code for using xdoc to make a seal in HTML</a></span></p> <p><span style="line-height: 1.76em;"><img src="https://img.php.cn/upload/article/000/001/506/b8f4a9d628b0c3e414ecac5f99a64525.jpg" style="max-width:90%" alt="10 recommended articles about xdoc" ></span></p> <p>##Introduction: The html function is very powerful. Here is an example code for using xdoc to make a seal in HTML<span style="line-height: 1.76em;"></span></p> <p>3. <span style="line-height: 1.76em;">XML (4) XDocument and Gets the specified name. Then output the contents of the first child node under the name node by traversing. <a href="http://www.php.cn/xml_rss-351512.html" target="_blank"></a></span></p>4. <p>XML (3) XDocument and XmlDocument recursively read xml files <span style="line-height: 1.76em;"><img src="https://img.php.cn/upload/article/000/000/194/0951279f40b7e3a9feaed32166cad3b1.png" style="max-width:90%" alt="10 recommended articles about xdoc" ></span></p> <p><span style="line-height: 1.76em;"></span> </p> <p><span style="line-height: 1.76em;">Introduction: Read the xml file into the TreeView through XDocument and XmlDocument, which mainly recursively loads the elements under the xml into the TreeView control. <a href="http://www.php.cn/xml_rss-351511.html" target="_blank"></a></span></p>5. <p>XML (2) Write XML through XmlDocument and XDocument methods<span style="line-height: 1.76em;"><img src="https://img.php.cn/upload/article/000/000/194/d5b468a3578822ac2c8518adf80910ab.jpg" style="max-width:90%" alt="10 recommended articles about xdoc" ></span></p> <p><span style="line-height: 1.76em;"></span> </p> <p><span style="line-height: 1.76em;">Introduction: XML can also be written in .net through XmlDocument and XDocument. XmlDocument is the standard XML writing class originally supported. Now the extended XDocument class is more convenient to use. XDocument is used below. Class to write an XML file. <a href="http://www.php.cn/xml_rss-351508.html" target="_blank"></a></span></p>6. <p>Lucene Learning Summary Three: Lucene’s Index File Format (2)<span style="line-height: 1.76em;"><img src="https://img.php.cn/upload/article/000/000/194/2ee37e48c05579e430cd655fafc4b644.png" style="max-width:90%" alt="10 recommended articles about xdoc" ></span></p> <p>Introduction: IndexWriter writer = new IndexWriter(FSDirectory.open(INDEX_DIR), new StandardAnalyzer(Version.LUCENE_CURRENT), true, IndexWriter.MaxFieldLength.LIMITED); writer.setUseCompoundFile(false); indexDocs(writer, docDir); writer.flush(); // flush<span style="line-height: 1.76em;"></span></p> <p>7. <span style="line-height: 1.76em;">Lucene learning summary 5: Detailed description of Lucene’s index file format (2)<a href="http://www.php.cn/mysql-tutorials-121758.html" target="_blank"></a></span></p> <p>Introduction : IndexWriter writer = new IndexWriter(FSDirectory.open(INDEX_DIR), new StandardAnalyzer(Version.LUCENE_CURRENT), true, IndexWriter.MaxFieldLength.LIMITED); writer.setUseCompoundFile(false); indexDocs(writer, docDir); writer.flush() ; //flush<span style="line-height: 1.76em;"></span></p> <p>8. <span style="line-height: 1.76em;">Using ANT_MySQL in Eclipse<a href="http://www.php.cn/mysql-tutorials-121721.html" target="_blank"></a></span></p> <p> Introduction: Preface ant is a java developer toolbox An important part of ant, junit, xdoclet, etc. are closely related to it. Programmers may be accustomed to the automatic building and even deployment functions provided by IDE, thus ignoring ant itself. In fact, mainstream IDEs usually have built-in ant tasks to complete these tasks. If you are working and familiar with the internal mechanism of ant, you can read or simply modify build.xml, which will undoubtedly help you<span style="line-height: 1.76em;"></span></p> <p><span style="line-height: 1.76em;"></span></p>