bugshaw: (Lemon)
Add MemoryShare This Entry
posted by [personal profile] bugshaw at 06:30am on 23/01/2008
Oh no! My shiny new USB stick comes with Sudoku and Mahjongg games! Luckily they only seem to be visible on the Windows machine. I had quite enough of a shock last night when I found that the third piece of this week's reading for the XML course was a 115-page presentation on XQuery.
There are 9 comments on this entry. (Reply.)
 
posted by [identity profile] sbisson.livejournal.com at 06:37am on 23/01/2008
If you want I can batch up and send you all my old XML tutorials
 
posted by [identity profile] bugshaw.livejournal.com at 07:14am on 23/01/2008
I'm probably okay with the W3Schools stuff, but am interested in how people use XML in the real world if that's the sort of thing they cover :-)
 
posted by [identity profile] bellinghman.livejournal.com at 10:41am on 23/01/2008
Badly, is all too often the answer.

(A colleague decided that XML was a sensible file format for saving data to. So far, so good. Except that instead of saving a string as an attribute in one case, he saves the individual characters, each as a separate sub node. Can we say, file bloat? Can we say, impossible to find a damned string when looking for it?)
 
posted by [identity profile] devilgate.livejournal.com at 11:50am on 23/01/2008
My jaw is sore from hitting the table.
 
posted by [identity profile] bellinghman.livejournal.com at 11:58am on 23/01/2008
I should clarify - not all strings are treated this way, only the strings that provided the text to be displayed for text shapes. These are, of course, the only lengthy strings we need to worry about.

Combine that with an all-on-one-line XML serialisation routine, and it gets difficult to examine the file and determine which text shape is responsible for the misspelt 'SPECAIL OFFER'.
Edited Date: 2008-01-23 11:59 am (UTC)
 
posted by [identity profile] aardvark179.livejournal.com at 12:58pm on 23/01/2008
Good new everyone! If the XQuery stuff has been written in a nice xmlish way then it should be quite possible to write some XQueries to extract the salient information from the document.

Thus you should assume that you will receive some xqueries from your future self and spend the time you would have used reading those 115 pages to invent a time machine.

I need a Bunsen Honeydew avatar.
 
posted by [identity profile] bugshaw.livejournal.com at 01:17pm on 23/01/2008
I am insufficient of a wizard to XQuery a PowerPoint presentation (for that is what it was)...

>I need a Bunsen Honeydew avatar.
The Internet can provide. Who'd have thought?
 
posted by [identity profile] aardvark179.livejournal.com at 02:33pm on 23/01/2008
Close, but doesn't really capture his character, there's something about the way he tends to gesticulate.

I might have to trawl Muppet Shows for suitable images. Oh the hardship. :-)
ext_16733: (Departure)
posted by [identity profile] akicif.livejournal.com at 06:15pm on 23/01/2008
Open PowerPoint in OpenOffice, save in internal XML format and hit that with XSLT/XQuery?

September

SunMonTueWedThuFriSat
  1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21 22
 
23
 
24
 
25
 
26
 
27
 
28
 
29
 
30