Jump to content

XML and HTML help


houssam_ballout

Recommended Posts

Nothing really became clear. Linux interface, but a web interface. OK.1. But does that interface run on a stand alone server located at the user (for example, routers do that. They have their interface as HTML pages that are served when accessing the router via HTTP)?2. Or are all clients connecting to a remote site (the same way they would from a browser, but from an application)?3. Or perhaps the files are not running from an HTTP server, but only statically in the browser (where the "URL" will actually be a file path)?4. Or does it not run from a browser at all, but a stand alone application (if this is supposed to appear offline before anything else is installed)?Each of this environment presents different possibilities and constrains.1. Depends on what will be available to this stand alone server. If it doesn't have anything extra available to it, see 3. If it does, see 2.2. You can use many things. Practically everything. JavaScript to insert the data on the page without reloading, a server side scripting language (PHP, ASP(.NET), ColdFusion, Perl, etc.) to do the same on server checks (for example, if the data has to be saved). Or (the best option in my opinion, but might not be suitable for you) use variety of XSLT files- one for each format of the page (HTML, XHTML, SVG, etc.) and use the server side scripting language to execute the transformation and return the result to the browser. It's the XSLT file which will deal with the XML(s).3. Unfortunatly, the only thing you may use is JavaScript or XSLT over the XML. The later will requre a different XML file for each page + the extra XML file(s). The first is the only thing that can be "embed" in (X)HTML pages. If JavaScript is what you need, read the XML DOM tutorial.4. Use the language with which you've build the application. If built in C++, use a C++ based XML parser to access the desired XML nodes and use their data. One such example is Apache's Xalan-C.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...