The application of XML in BS development in this series of articles, the author doesn't plan to perform XML grammar and its document structure, and the length of the BS development, I hope to read the readers of this series of articles have a certain XML and BS development basis. . And this series of articles are based on IE5.0 and its above version browser. Service technology is generally asp, JSP as an example.
First, combined with the SELECT label usually we are developing in BS, there is more place to use the SELECT tag (browser control) to do type or parameter selection, usually we want to make an openness and scalability comparison Strong applications do not write these types or parameter selection items. So there is often an array or querying the database, using a loop to handle this type. Here I want to introduce the application of XML technology to achieve flexible extension. The following is to describe how to describe the way of managing: First, we have two ways to organize an XML document. One is static, such as directly writing a nativeplace.xml file; another is to dynamically generate an XML page dynamically in ASP or JSP. The following is as an example, the NativePlace.xml document content is as follows XML Version = "1.0" Encoding = "GB2312"?>