I have a couple of questions about XML. Actually, I am not sure if XML is the right programming language to use.
I have a database ready to go, but I would like to put it on the web for people to use. I was thinking about linking the db to an xml file then creating an html page that will pull the information from the xml file. But something tells me that this is not the simplest way to do things.
I know another way I can do things, which would be completly different and more complex, using a db and C# linking it to an html page extracting the C# and the db from a few lines of javascript. Not pretty!
If anyone has some suggestions or knows a good tutorial I am all ears!!! or eyes actually :)
Abdullah
This is not a quick solution, perhaps, but you may want to look at the newest release of Saxon (currently 8.3). It seems to have as well developed queries as anything, though anything other than very simple usage will require some scripting at the very least. The sample file from the installation instruction in the manual looks like it is database based.
Go to: http://www.Saxonica.com, you want the "b" (free) version initially. There is a link on the saxonica site to sourceforge where you can get the download.
-dan
Abdullah Alger wrote:
The Digital Medievalist List (see end of message for contact information and project URLs).
I have a couple of questions about XML. Actually, I am not sure if XML is the right programming language to use.
I have a database ready to go, but I would like to put it on the web for people to use. I was thinking about linking the db to an xml file then creating an html page that will pull the information from the xml file. But something tells me that this is not the simplest way to do things.
I know another way I can do things, which would be completly different and more complex, using a db and C# linking it to an html page extracting the C# and the db from a few lines of javascript. Not pretty!
If anyone has some suggestions or knows a good tutorial I am all ears!!! or eyes actually :)
Abdullah
Digital Medievalist Project Homepage: http://www.digitalmedievalist.org Journal (December 2004-): http://www.digitalmedievalist.org/journal.cfm RSS (announcements) server: http://www.digitalmedievalist.org/rss/rss2.cfm Wiki: http://sql.uleth.ca/dmorgwiki/index.php Change membership options: http://listserv.uleth.ca/mailman/listinfo/dm-l Submit RSS announcement: http://www.digitalmedievalist.org/newitem.cfm Contact editorial Board: digitalmedievalist@uleth.ca dm-l mailing list dm-l@uleth.ca http://listserv.uleth.ca/mailman/listinfo/dm-l
Abdullah Alger wrote:
The Digital Medievalist List (see end of message for contact information and project URLs).
I have a couple of questions about XML. Actually, I am not sure if XML is the right programming language to use.
I have a database ready to go, but I would like to put it on the web for people to use. I was thinking about linking the db to an xml file then creating an html page that will pull the information from the xml file. But something tells me that this is not the simplest way to do things.
Although it isn't really what you might be looking for, since you already have a database, but you may wish to look at eXist. It is a free, opensource, native XML database. This would be a database way of working with XML texts that is designed for just that purpose. One of the many ways to query such databases is with XQuery (W3C XML Query), which is kind of like SQL by for XML Databases.
See: http://www.exist-db.org/ for more information.
-James