Questions tagged [xt]

XT is an implementation in Java of XSLT, created by James Clark.

XT XSLT an implementation in Java of XSLT, created by James Clark.

To use XT, you need:

  • the XT distribution
  • an XML parser in Java that supports SAX, such
    as XP; you should choose a SAX parser that provides Locator information, otherwise you won't get any line numbers in error messages

Put xt.jar in your CLASSPATH, together with whatever is needed for your XML parser, and sax.jar if that isn't included with your XML parser. Then use the command:

java -Dcom.jclark.xsl.sax.parser=your-sax-driver com.jclark.xsl.sax.Driver source stylesheet result name=value...

The name=value arguments are optional and specify parameter names and values; they can occur in any order with respect to the other arguments. They will be ignored unless the stylesheet contains a corresponding top-level xsl:param element. The value of the parameter will be of type string.

To find a SAX parser, XT first uses the value of the system property com.jclark.xsl.sax.parser; if this is not set it uses the value of the system property org.xml.sax.parser; if this is not set it uses the class com.jclark.xml.sax.CommentDriver (This subclasses the normal XP SAX driver to provide support for comments; it is present only in XP version 0.5 or later; if you have an earlier version of XP use -Dcom.jclark.xsl.sax.parser=com.jclark.xml.sax.Driver instead.)

Alternatively under Windows you can use XT packaged as a Win32 executable. This includes XP and SAX. To use this, you will need to have the Microsoft Java VM installed (this is included with IE). Run this with the command:

xt source stylesheet result name=value...

Useful references:

15 questions
7
votes
2 answers

How to run perl xt tests?

Lately the new great thing appeared in the Perl world. For a long time in the library package there was folder t that contained tests. Now there is one more folder xt that contains author test. The xt tests are not needed in the process of the…
bessarabov
  • 11,151
  • 10
  • 34
  • 59
5
votes
2 answers

How to remove borders of widgets in an x window program using x resource?

I would like to change the ugly default looking of gv's GUI. I used editres to get the x resource tree of gv and tried to remove borders of buttons using the following settings: GV.control.MButton.borderWidth: 0 GV.control.MButton.borderColor:…
Jing
  • 283
  • 1
  • 8
4
votes
1 answer

Handle "new top level window" events in Xlib/Xt

So I'm in a situation where I need to know when a top level window gets created. I'm working at the Xlib/Xt level and on a Window Manager that doesn't support the EWMH specification. My idea is to hook into the root window's SubstructureNotify…
Daniel Jennings
  • 6,304
  • 3
  • 32
  • 42
3
votes
1 answer

New embedded schema format for Parasolid v30?

I have two binary Parasolid files from v30 (internal modeller string is 3000226, schema string is SCH_3000226_30000_13006). In it, the embedded schema information for older types is as defined in the latest copy I have of the Parasolid XT Format…
colomon
  • 51
  • 3
2
votes
3 answers

Loading a popup using ajax

I have a jsp page which should load a popup using ajax. The content of the page is determined by form filled by user. Something like this: javascript: ajax('getPage.action', 'content_id', 'form_id'); foo.jsp:
egaga
  • 21,042
  • 10
  • 46
  • 60
2
votes
1 answer

Motif How to calculate or retrieve the font pixel size?

I am trying to write code in Motif to change a dialog warning box to resize size it if the box is not wide enough. The width and height is always being set by the calling classes and its not always wide enough for the message being displayed and…
user3416126
  • 148
  • 11
2
votes
1 answer

Why is the first partition of an MBR set up on sector 63?

If I remember right, the first sector is the mbr and boot code, and when the XT first came out, DOS was placed right after the MBR and that landed the first partition at sector 63. I'm also remembering something about the first cylinder being…
stu
  • 8,461
  • 18
  • 74
  • 112
1
vote
2 answers

xt:Commerce nested set categories_left and categories_right

A long time ago, I built an importer for xt:Commerce that worked fine up to v4.1. The data came from the same PIM system as before. But now, v4.2.0 is out, and they've added a nested set for the categories. Anyways that's ok, but they've added two…
UnskilledFreak
  • 306
  • 2
  • 13
1
vote
0 answers

turn on flashlight programmatically on motorola fire xt

I have tried several code that I found on other stackoverflow posting turn in off camera led flash light, use camera flashlight in android, code.google.com/p/droidled ,and code.google.com/p/torch but I still cannot turn on led flash on my motorola…
yp25
  • 11
  • 4
0
votes
0 answers

XtAppAddTimeout and clock skew

My company produces linux-based embedded systems. For hardware testing purposes, we are using a program based on Xt toolkit. It works fine, except that the initial system date is wrong, and is adjusted only later by NTP in the startup procedure.…
Giuseppe Guerrini
  • 4,274
  • 17
  • 32
0
votes
1 answer

problems with XMLHttpRequest or is a server setting problem loading a gpx file

I'm Italian almost a newbie in javascripting and server side rule configuration. I'm creating a webside page, and intend to use a part of code of gpxtruder.xyz. I have permission of owner (Jim Denova jim@anoved.net) to use original code, as it's…
luca_papi
  • 3
  • 3
0
votes
0 answers

Getting infinite loop or hang in 8086 asm using tasm 1.0 and mame mc1502 emulator (XT semi-compatible)

I'm trying to write program in 8086 asm for XT emulator which draws random pixels on screen (1 coordinate axis for now). 10 pixels are drawn along (x=random(),y=100), then delay is run. I'm getting a hang or infinite loop. I've tried pushing and…
Vadim
  • 1
  • 1
0
votes
1 answer

problem with Ext JS grid

iam new to Ext js iam displaying a tree inside a grid. it works fine.but according to my new requirement, i have to use seperate coloumn headers for parent node and child nodes.is it possible to have more than one coloumn header for a single grid?
madhu
  • 1
0
votes
1 answer

Does anybody know of an MVC framework the works well with ExtJS?

I am using ExtJS with a rails backend and would like to use an MVC pattern. Does anyone have any insite on this?
user407275
  • 126
  • 2
  • 3
0
votes
1 answer

PyOpenNI input for OpenCV

I'm working with OpenCV in Python. I want to get input from Asus Xtion . I'm able to successfully run samples from PyOpenNI . I want to use the image obtained (str format) by igen.get_synced_image_map_bgr() in opencv. igen-ImageGenerator I want to…
Ansel Zandegran
  • 636
  • 8
  • 18