When I run xsl it's from the command-line on a Unix system. I don't think I can help you with this.
Buffistechnology 3: "Press Some Buttons, See What Happens."
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
OK, thanks anyway.
I think this is code for "Uses a TARDIS."
If he has a TARDIS and hasn't told me, he is in so much trouble.
$25 computer is barely larger than the average USB stick
The Raspberry Pi is one tiny computer that's actually functional enough for modern use. It doesn't get any more barebones than a little circuit board with a 700MHz ARM 11 processor, a USB port, an HDMI port and an install of Ubuntu Linux.
Designed by game developer David Braben and his friends, the Raspberry Pi's basic structure was created to encourage schoolchildren to hack and mod it to unlock its true potential. On the stock Raspberry Pi, all one needs to do is plug in a display through the HDMI port and a keyboard through the USB and it's good to go — getting online requires another adapter.
While pictures show only a processor, USB and HDMI port, Raspberry Pi's website actually reveals its other secret powers: 128MB of SDRAM, OpenGL ES 2.0, 1080p HD decoding, composite output, SD card slot and other flavors of Linux such as Iceweasel and Python. A 12 megapixel camera sensor can also be connected (as seen in pic above).
But will it run OSX?
Mr Scola, are you around today?
I am now trying to do my xsl transformation on the server in the .ASP page (using VB Script). I think I've almost got it working. Currently I'm testing the transformation using Editix. When I run it, I get the following error:
The URI 'http://www.w3.org/1999/XSL/Transform' does not identify an external Java class
That error occurs on the following line in the xsl document:
<xsl:if test="pay_date[@dow = xsl:getDOW($loopcounter) and @sf = xsl:getSF($loopcounter)]">
The function DOW is defined like so:
<msxsl:script language="JScript" implements-prefix="xsl">
function getDOW(iCounter){
if(iCounter == 8){
return 6;
}
if(iCounter == 7){
return 7;
}
if(iCounter == 1){
return 6;
}
return 7 - iCounter;
}
...
We don't use Java in our xsl stuff, so I'm not sure what's going on. The error might be because Editix doesn't have some Java it needs or something? Any ideas? (I'm not at work, so I can't try the transformation on the .ASP page right now.)
eta: OK, I think the problem is that Editix doesn't have access to the JScript interpreter. So I'll have to try this tomorrow on our web server.
I would try something along the lines of putting the function in its own namespace, i.e.
<msxsl:script language="JScript" implements-prefix="foo">
And then calling the function as foo:getDOW rather than xsl:getDOW.
You will also need to declare the namespace at the top of the document:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:foo="http://your-url-here"
extension-element-prefixes="foo">
Again, I'm not very familiar with the MS toolset, so I don't know if this will work or not.
Thanks, Tom.
If I comment out the stuff that calls the JScript functions, it runs without error and the results are mostly correct. So I'm just going to wait until I'm at work tomorrow to look at this some more.
I am being socially (media) awkward and I don't know why.
Every tweet ends up double posting, which leads to double facebook posts as well.
I like the convenience of the cross-posting, but am embarrassed by the doubling up.
Anyone know how to fix this? Does having the autoFB function on make this happen?
Things that are annoying me about Firefox 4: it's harder to get to the list of bookmarks; there are things I use all the time that I don't want on my toolbar (like here). And when I right-click, they've switched the positions of the links to open in a new tab vs. a new window. Now tab is first, which is better, but I am so used to going to the second link automatically that I keep opening things in new windows which is annoying!