This application claims priority to Taiwan Application Serial Number 97103163, filed Jan. 28, 2008, which is herein incorporated by reference.
1. Field of Invention
This present invention is a method of accessing files with XML documents of Windows format under Linux. More particularly, the present invention a method of accessing files with XML documents of different operating system formats.
2. Description of Related Art
Under Windows and Linux operating system, the expressions of file paths are different. If a user wills to retrieve a file from an Extensible Markup Language (XML) document, it is required to erect a web server on the local end computer. Then by linking to the web server through a web browser of the local end computer, the web browser can retrieve the file according to the file paths in a XML document.
In prior art, it requires extra web server software to erect a web server on the local end computer for retrieving the file by a web browser linking to a web server. Because the web server would hold a network service, it does not only consume computer resources, but the procedure of retrieving a file is complicated and time-consuming. And there is a security concern when erecting a web server on the local end computer.
For instance, when applying the practice of prior art on a practical server; it will hold a network service when downloading some drivers or system tools. An old version or insecure server software may be carried out on the server computer, and caused security threats.
For this reason, the present invention provides a method of accessing files with XML documents of Windows format under Linux. By converting a first XML document of Windows format to a second XML document of Linux format, and by engaging with the Link function of the file linkage structure of Linux, a user under Linux can retrieve the specific installation files and drivers through the web browser by clicking on hyperlinks in a XML document of Windows format.
The main idea to this invention is to open a webpage enclosing a XML document of Windows format or a webpage enclosing a XML document of Linux format by using a web browser. And by the Link function of the file linkage structure of Linux, the system actually retrieves the specific file stored on a data CD by the absolute path, which is conducted from the relative path in a XML document of Linux format. Wherein the absolute path is a path that points to the same location on one file system regardless of the working directory or combined paths, and is usually written in reference to a root directory. And the relative path is a path relative to the current working directory, so the full absolute path may not need to be given. Therefore, it is able to retrieve the installation files and drivers on data CDs by clicking on hyperlinks in a webpage through a web browser.
By means of this invention, installing the web server software to erect a web server for a web browser to open a webpage enclosing a XML document of s Windows format or of Linux format through is taken place.
The invention can be more fully understood by reading the following detailed description of the embodiment, with reference made to the accompanying drawings as follows:
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
Refer to
In addition, the above-mentioned Step 130 further comprises a detailed procedure A. Refer to
Although the present invention has been described in considerable detail with reference to certain embodiments thereof, other embodiments are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the embodiments contained herein.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 97103163 | Jan 2008 | TW | national |