24hrs in the matrix

Ok its been less than 24hrs and I have watched the matrix reloaded twice in the cinema and once on my computer. In total 7 hrs of my day has been spent watching this state of the art movie.
But its not good and i've pledged not to watch it for a few days now. Maybe Sunday with a friend or sometime over the weekend with my wife whos not all that bothered about watching it. Yes she needs help…

I'm still loving matrix reloaded but I cant wait a moment longer for revolutions. Its killing me… /images/emoticons/happy.gif

Comments [Comments]
Trackbacks [0]

xml authoring from microsoft?

I hope for a better future, and one of the hopes was for a xml authoring tool which would hide the xml from users but constrain them to a xml schema.
Even a year ago I looked at different solutions and they were honestly crap to say the least. Then I heard about Office 2003 by Microsoft of all corps, and thought maybe there doing something right for once?
Yeah right… I think this pretty much sums up the current situation.

At Microsoft's Mercy

Its does talk about Open office a bit and how that fits into the picture with Microsoft, Corel and Adobe. With the other links off that page its a quite good read and sums things up.

Comments [Comments]
Trackbacks [0]

Soap and Xml-rpc

I am very confused,
I heard of soap and thought that was the standard for webservices. And it seems like it but then I came across xml-rpc? What the hell is that when its at home? Well I finally worked out the other day.
Daves history of soap. Very informal and easy to read even for non programmers like me.

Anyhow thats not what I was writing about really.
I've been playing with soap in cocoon as a client, realised quicky that a soap service is a whole bigger thing than i imagined. Just been gathering information from amazon using the tutorial in my cocoon book. It seems quite straight forward specially when you understand the concept of a soap env and the like.
but how does xml-rpc fit into all this? Humm its a difficult one because soap does all the lovely things like validate via a xml schema, etc. Xml-rpc on the other hand doesnt seem to do all that but is simplier to use and less verbose. It seems like it the difference between xml schema and relax ng. Both do the same thing and each have there advantages. I think I'm going to stick with soap because if i can understand that, then xml-rpc wont be that much more difficult to learn.

Comments [Comments]
Trackbacks [0]

SVG presentations

Found this while looking for a gui for exist, Jack svg. Basicly its a presentation tool which converts xml into svg.
JackSVG is a program that takes your presentation contents, written in a simple XML-based language, and produces a SVG file formatted for presentation

Now I could do this easily myself but to write the xsl would take man hours which I dont have but I could also write a xsl turn the same xml into pdf using apache's xsl-fo.
Humm, will try this out on the weekend of once I solve this problem with storing xml in exist.

Comments [Comments]
Trackbacks [0]

Open source xml database

The best opensource xml database I can find at the moment Exist. Written by a mastermind and good enough to use in almost every project regarding xml. Supports xinclude and limited xquery. Works so well with cocoon its untrue and has built in support for webdav. Amazing stuff, cant wait to find more time to experiement with it.

Querying exist is easy as pie.
supports cocoon views – very useful. as in http://127.0.0.1:81/exist/xmldb/courselets/?xpath=document(*)//q&cocoon-view=content (thank you miles)

Comments [Comments]
Trackbacks [0]

OpML? what?

It started off with me looking for a RSS desktop reader, because it just makes sense rather than visiting the website all the time.
First came across this first of all. RSS Info. Then I downloaded Feed reader and started to think this is good stuff but when I'm on my tablet I can always connect to the net anyway. So it got me thinking there has to be a RSS reader for the pocketpc platform?

And I wasnt wrong, Pocket Feed. Anyway moving on, I started thinking wouldnt it make sense if I could sync my rss subscripions across my tabletpc, workstation and pocketpc?

Well it seems like others have come to this point already. Using OPML for it's blogroll, you can now take your news, blog entries, or any other type of syndicated data with you, sync it wirelessly or read it offline. So yes, you can sit in Starbucks with your PDA and read the latest news over 802.11b.

So what is this opml? looking at the site theres a xslt which could be useful if I decide (or more like find the time ) to make my rss favourates available through cubicgarden.com. Kinda of like avant-go but all the subscriptions I want.

Need to find out more about Opml and get a RSS reader which exports and imports OpML.

Comments [Comments]
Trackbacks [0]

OpML, why?

Ok I looked at the opml spec and what a simple standard. Its almost too simple and I feel goes slightly against the idea of xml. I mean it structures data but using the outline tag is like me using the paragraph tag in html to structure all data.

Anyway seeing how people and applications are using this simple xml schema, I've been thinking maybe I should use it for my bookmarks. Because I've been looking for a standard way of storing those in xml for a long time now. Also been thinking I could import xlink and use that on top of opml rather than html href's? I swear there has to be better way of storing bookmarks.

Also kind of related in a round-about way. The newsreader on my ipaq pocketfeed is working but seems to have problems connecting to certain types of rss streams. I got a feeling it has problems with rdf based ones. But also has problems with my own stream which is weird because it works with other blojsom streams. Maybe the port 81 thing is causing problems or something? Also my newsreader on the pc doesnt support opml, so i keep having to copy and paste things between my tabletpc, workstation and ipaq. I really need to sort out the file sync issue on windows xp, because this is becoming a bit of a pain now.
Oh also why the hell does feedreader put its config and xml files in the user directory? ANd why cant you change it? Its a bloody nightmare. Hope they fix this issue in the new version. Tempting to use something else. Specially with the webserver not having any template file I can modify to change the code it generates. Non standard html code at that too…
Sort it out!

Comments [Comments]
Trackbacks [0]

How flexable is Smil?

I pose the question knowing the answer already but its quite something to see projects coming together.
In my college there were courselets which I developed along with others, but they were the idea of my guru of a boss Miles (sure he'd hate to be refered to as a boss). Anyhow courselets are basicly question and answers packaged in xml complete with metadata in the form of dublin core elements. They are transformed via xsl into webpages for students to read. Makes sense.

And that would be fine in a normal college, but this a design and communication college and students demand something visually rich. So my work friend Adam setup video resources which are basicly streaming video tutorials which everyone in college can watch. Now moving forward from where he was before, he's now deploying along the lines of about 200 video resources for everything from word to how to write xsl.

The link is perfect because video has little metadata and by xlinking courselets to videos, we can supply not only content rich but also visually rich resources. How does smil fit into all this? Well the question and answer nature can be multiplied to make a complete short course. Smil can join together video and can be generated from the xml by me pulling out the xlink href for the video with xsl. In the first stage it would be easier to pre make the smil and dynamicly generate it later on when students are using the resource fully.

Comments [Comments]
Trackbacks [0]

First thoughts on Microsoft Office 2003 beta 2?

So I finally got a copy and installed it on my workstation.
I'm hoping to see what Microsoft have done when it comes to xml, because if the hype is right (very unlikely) it should bring xml to the desktop market.

First things first…
Not much has happened to Office when it comes to installation. Still a real pain. God help anyone who does typical install of office 2003.

Ok so first things first, I loaded a plain xml document into word 2003. Inpressive, it actually knows its xml and will let me author it in the same way as xmetal. Kinda of tag based if you want or non tagged if you like. Seems good enough so far.

But what if I load a xml document with a DTD attached? Ah it does it but doesnt like the DTD, kind of what I expected really. Doing the same with a XML schema fairs better, but it doesnt seem to restrict me from putting in non valid content. Didnt try saving, maybe thats when it does the checking? Also found if you open a xml doc with a xsl also attached it will show the html tags instead of the xml ones.
Could be useful, but I actually thought it would show the final result, so you could almost edit the webpage in word. Because editing the html isnt a good solution for non technical people.

So I started thinking lets have a look at infopath 2003.
It seems very much like xmlspy's stylesheet form editor. But with a little help you can drop a xml schema in. But lo-and-behold it doesnt like my schemas…Why?
My schemas have been checked against many xsd checkers and there not actually that complex. It seems Infopath doesnt like includes and imports at all. I had to revert to a schemas I wrote over a year ago to test it out, and even some of those didnt work. Maybe its the namespaces?
Once I finally got a schema in it a matter of dragging and droping elements and attributes around on the plain page and editing from there. You can add validation rules to the forms and areas but why does it not just add default rules from the datatypes in the xml schema?
If I make the datatype xs:AnyURI, that usually means no numbers to start off with, etc.

Once you preview the final thing it seems pretty good. No idea where the xml goes but it does the validation and nothing much else it seems. Anyway I didnt really test it that much.
Going back to word 2003, seems even when you save it doesnt do the checking against the schema. I even added the schemas to the schema library and it correctly realised there were imported and included schemas attached to the schema I was adding. So why does Infopath have a problem with the same schema?
I really need to read some docs on xml in word to see how it all works rather than fumbling around blindly. Missed the infopath online streaming demo on may 29th but I'm sure they have archived it, would look now but Reservoir Dogs is on tonight and I'm watching that till its finished.

Ah useful Office 2003 Assistance Home.

Ah it seems word 2003 works in the same way as open office. There is one xml file which ties the schemas, xsl, css and xml together. Manifest.xml. Seems you need the Smart Document Software Development Kit to make the whole package? Isnt this what infopath was ment to do?

Comments [Comments]
Trackbacks [0]

Exist projects

Its so true they say about learning while in a project. I have been helping david with his osdavid project. Problem was the same as I had with adding search functianlity to courselets. He is using many xml files pulled into flash for dynamic presenation. Anyway when he searches for something or compares a node against another one, flash chokes and takes along time to return any results.
Bad news eh? yes…I'm not the number one fan of flash but if people want to use it thats up to them in the same way if you want to snort coke, I cant stop you.
Anyhow putting davids xml in exist and doing the queries in xpath on exist will stop flash choking because all it needs to do is format a http get request to the local server and exist will come back with the subsets of xml it needs to do its job. Easy.

This requires david to learn a little xpath because he wants to compare elements and attributes in different documents. And do content searches. It sholdnt be all that hard for him to learn.
I think the hardest thing for him will be getting the file the search results returned. Simply because flash uses a dom type of method. See the power of using standards! xpath to query the database and xpath to write the xslt! Anyhow for his osdavid project this should be good news.

After working with david yesterday, I've been using exist a bit more and finally understand it. Man there is so many ways of getting to the xml database. xml-rpc, soap, http, xmldb, etc, etc. Its one hell of a personal project I have to say.
Links to blojsom? maybe, because i did read you can put not well formed xml into somehow. But by default it checks when you put it in if its well formed, if not it rejects it.
Ah david, that could be the reason why some of your xml files couldnt be moved across to exist even on my own webdav client. Yes I remember had the same problem putting courselets in. ha i love xml.

Comments [Comments]
Trackbacks [0]

Codec feature comparission

Its been a long time since I've done anything on Mpeg4 now, I havent even been keeping up with the latest mpeg4 encoders.
Its not a real problem though because others are doing good research into mpeg4. Mpeg4 codec feature comparission and the fall out on a forum afterwards..
Will look forward to the review on RM9, WMV9, H.264, and several wavelet/proprietary codecs in the near future.

Comments [Comments]
Trackbacks [0]