xslt-process-users Mailing List for XSLT-process - Emacs XSLT process/debug (Page 24)
Brought to you by:
ovidiu
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(9) |
Jun
(20) |
Jul
(9) |
Aug
(16) |
Sep
(2) |
Oct
|
Nov
(8) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(5) |
Feb
(8) |
Mar
(2) |
Apr
(22) |
May
(2) |
Jun
|
Jul
(3) |
Aug
(2) |
Sep
|
Oct
(3) |
Nov
(3) |
Dec
|
2003 |
Jan
(6) |
Feb
(3) |
Mar
(3) |
Apr
(4) |
May
(12) |
Jun
(16) |
Jul
(2) |
Aug
(1) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2004 |
Jan
(5) |
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(5) |
2005 |
Jan
|
Feb
|
Mar
(3) |
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
(2) |
2006 |
Jan
(2) |
Feb
(1) |
Mar
(3) |
Apr
(1) |
May
(6) |
Jun
(3) |
Jul
(8) |
Aug
(8) |
Sep
(3) |
Oct
(23) |
Nov
(55) |
Dec
(45) |
2007 |
Jan
(8) |
Feb
(11) |
Mar
(6) |
Apr
(11) |
May
(3) |
Jun
(9) |
Jul
(12) |
Aug
(29) |
Sep
(22) |
Oct
(12) |
Nov
(12) |
Dec
(10) |
2008 |
Jan
(7) |
Feb
(6) |
Mar
(34) |
Apr
(22) |
May
(12) |
Jun
(15) |
Jul
(21) |
Aug
(4) |
Sep
(14) |
Oct
(11) |
Nov
(23) |
Dec
(34) |
2009 |
Jan
(9) |
Feb
(8) |
Mar
(9) |
Apr
(16) |
May
(29) |
Jun
(28) |
Jul
(31) |
Aug
(6) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(11) |
2010 |
Jan
(7) |
Feb
(5) |
Mar
(5) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(3) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
2012 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(1) |
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2015 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
(2) |
Nov
(4) |
Dec
(5) |
2016 |
Jan
(5) |
Feb
(6) |
Mar
(8) |
Apr
(6) |
May
(5) |
Jun
(2) |
Jul
(5) |
Aug
(6) |
Sep
(12) |
Oct
(7) |
Nov
(8) |
Dec
(2) |
2017 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
(3) |
Nov
(1) |
Dec
(4) |
2018 |
Jan
(6) |
Feb
(6) |
Mar
(18) |
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2019 |
Jan
|
Feb
|
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(4) |
Jul
(8) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(1) |
2021 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2023 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2024 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Eugene G. <eug...@em...> - 2001-08-02 14:33:31
|
That fixed it! Thank you. Ovidiu Predescu wrote: > > This is a bug in the psgml mode, the xml-mode doesn't call the > xml-mode hooks as it should. The following piece of advice should fix > this, just add it in your .emacs: > > (defadvice xml-mode (after run-xml-mode-hooks act) > "Invoke `xml-mode-hook' hooks in the XML mode." > (run-hooks 'xml-mode-hook)) > > Regards, > -- > Ovidiu Predescu <ov...@cu...> > http://orion.nsr.hp.com/ (inside HP's firewall only) > http://sourceforge.net/users/ovidiu/ (my SourceForge page) > http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) > > On Wed, 01 Aug 2001 11:05:44 -0400, "Eugene Gross" <eug...@em...> wrote: > > > I installed it and it works great with psgml. One tiny problem I have is > > that XSLT minor mode gets turned on automatically for sgml-mode and > > html-mode, but not xml-mode. Any suggestions? > > > > Thanks, > > > > Eugene > > > > Ovidiu Predescu wrote: > > > > > > XSLT-process is a minor mode for GNU Emacs/XEmacs which transforms it > > > into a powerful editor with XSLT processing and debugging > > > capabilities. With this mode you can: > > > > > > - run an XSLT processor on the Emacs buffer you edit, and view the > > > results either in another Emacs buffer or in a browser. > > > > > > - run an XSLT processor in debug mode and view what happens during the > > > XSLT transformation. You can set breakpoints, run step by step into > > > your stylesheet, view global and local XSLT variables and many more. > > > > > > Currently the Saxon and Xalan Java XSLT processors are supported, and > > > the mode comes out of the box configured to use them. > > > > > > The package has been tested on XEmacs 21.1.14 and GNU Emacs 20.7.1, > > > under both Linux and Windows 2000. > > > > > > The package is free software and is distributed under GPL. The home > > > page of XSLT-process is located at: > > > > > > http://xslt-process.sourceforge.net/ > > > > > > Enjoy, > > > Ovidiu Predescu |
From: Ovidiu P. <ov...@xe...> - 2001-08-02 02:21:14
|
This is a bug in the psgml mode, the xml-mode doesn't call the xml-mode hooks as it should. The following piece of advice should fix this, just add it in your .emacs: (defadvice xml-mode (after run-xml-mode-hooks act) "Invoke `xml-mode-hook' hooks in the XML mode." (run-hooks 'xml-mode-hook)) Regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://sourceforge.net/users/ovidiu/ (my SourceForge page) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) On Wed, 01 Aug 2001 11:05:44 -0400, "Eugene Gross" <eug...@em...> wrote: > I installed it and it works great with psgml. One tiny problem I have is > that XSLT minor mode gets turned on automatically for sgml-mode and > html-mode, but not xml-mode. Any suggestions? > > Thanks, > > Eugene > > Ovidiu Predescu wrote: > > > > XSLT-process is a minor mode for GNU Emacs/XEmacs which transforms it > > into a powerful editor with XSLT processing and debugging > > capabilities. With this mode you can: > > > > - run an XSLT processor on the Emacs buffer you edit, and view the > > results either in another Emacs buffer or in a browser. > > > > - run an XSLT processor in debug mode and view what happens during the > > XSLT transformation. You can set breakpoints, run step by step into > > your stylesheet, view global and local XSLT variables and many more. > > > > Currently the Saxon and Xalan Java XSLT processors are supported, and > > the mode comes out of the box configured to use them. > > > > The package has been tested on XEmacs 21.1.14 and GNU Emacs 20.7.1, > > under both Linux and Windows 2000. > > > > The package is free software and is distributed under GPL. The home > > page of XSLT-process is located at: > > > > http://xslt-process.sourceforge.net/ > > > > Enjoy, > > Ovidiu Predescu |
From: Ovidiu P. <ov...@xe...> - 2001-07-30 22:24:13
|
On Mon, 30 Jul 2001 16:45:28 -0400, "Jeff Rancier" <jef...@so...> wrote: > Is there any way to generate a PDF file from XSLT-process? How would this work? It should be easy to generate a file for the FOP processor, using a stylesheet. What is then needed is a way to run the FOP processor and invoke the PDF reader. What should be the user interface: should we have one more menu entry and one more key combination to invoke this processing? Thanks, Ovidiu |
From: Jeff R. <jef...@so...> - 2001-07-30 21:07:42
|
Is there any way to generate a PDF file from XSLT-process? Jeff |
From: Ovidiu P. <ov...@xe...> - 2001-07-30 16:52:45
|
Hi John, On Mon, 30 Jul 2001 11:02:30 -0500, John Sharp <js...@ti...> wrote: > Hi, I attempted to setup my .emacs file for xslt mode. > > After installing everything and starting Emacs I get:- > > Error in init file: Symbol's function definiation is void: mapc > > I tried to look through the list archive but got an error > from the search page:- > > htsearch detected an error. Please report this to the returned > matches > > webmaster of this site. The error message is: > > Unable to read configuration file > '/bigassraid/htdig//conf/10811.conf' > > > As per the install instrucitons, here is my (reduced) .emacs file:- > > (mapc (lambda (x) > (pushnew (expand-file-name x) load-path)) > (list "~/emacs" > "~/emacs/xslt-process-2.0/lisp" > "~/emacs/elib-1.0" > "~/emacs/speedbar-0.14beta1")) > > (autoload 'xslt-process-mode "xslt-process" "Emacs XSLT processing" t) > (add-hook 'sgml-mode-hook 'xslt-process-mode) > (add-hook 'xml-mode-hook 'xslt-process-mode) > (add-hook 'xsl-mode-hook 'xslt-process-mode) Oops, I forgot about this one. mapc is defined in the "cl" package, so what you need is a "require", like this: (require 'cl) (mapc (lambda (x) (pushnew (expand-file-name x) load-path)) (list "~/emacs" "~/emacs/xslt-process-2.0/lisp" "~/emacs/elib-1.0" "~/emacs/speedbar-0.14beta1")) Or you can use Carsten's suggestion too, and not use mapc and pushnew at all. Regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://sourceforge.net/users/ovidiu/ (my SourceForge page) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) |
From: Ovidiu P. <ov...@xe...> - 2001-07-30 16:47:22
|
Hi Carsten, On Sun, 29 Jul 2001 11:09:19 +0200, Carsten Oberscheid <obe...@do...> wrote: > Hi all, > > I'm trying to get xslt-process to run on emacs 20.3.1 > (linux). Installed elib 1.0 and speedbar 0.13a, then xslt-process 2.0. > > When opening an XML file, apparently while loading xslt-speedbar.el I > get the message > > File mode specification error: (void-variable xslt-process-boolean-type-image) > > and xslt-process-mode is not started. Looks like there's a problem > defining xslt-process-boolean-type-image. When trying to start > xslt-process by hand, I get > > Symbol's value as variable is void: xslt-process-boolean-type-image > > again in xslt-speedbar.el. > > Since know little about elisp, I'm not sure what's going on here. I > looked at the speedbar code, and found that 'defimage-speedbar' should > be defined as a dummy macro in sb-image.el and thus not look for an > image file at all. So why the 'File mode specification error'? Actually on older versions of emacs without image support, defimage-speedbar should only define the variable, using the definition between the lines 60-67 in speedbar-0.13a/sb-image.el. I'm not sure why in your case this doesn't happen. > I'm confused. Can anybody help me? This looks like a problem with the combination between speebar 0.13a and your emacs version. I've tested it on emacs 20.7.1 and it seems to be working fine. You may want to post a message on the speedbar forum at: http://sourceforge.net/projects/cedet/ Regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://sourceforge.net/users/ovidiu/ (my SourceForge page) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) |
From: Carsten O. <obe...@do...> - 2001-07-30 16:10:22
|
On Mon, Jul 30, 2001 at 11:02:30AM -0500, John Sharp wrote: > After installing everything and starting Emacs I get:- > > Error in init file: Symbol's function definiation is void: mapc This hit me, too. I gues mapc is Xemacs lisp that doesn't work with GNU emacs (instead of elib?). Try this instead of the mapc command: (setq load-path (cons "~/emacs" load-path)) (setq load-path (cons "~/emacs/xslt-process-2.0/lisp" load-path)) (setq load-path (cons "~/emacs/elib-1.0" load-path)) (setq load-path (cons "~/emacs/speedbar-0.14beta1" load-path)) Works for me. Regards .co. -- carsten oberscheid d o c t r o n i c email obe...@do... information publishing + retrieval phone +49 2222 9292 90 http://www.doctronic.de |
From: John S. <js...@ti...> - 2001-07-30 16:02:36
|
Hi, I attempted to setup my .emacs file for xslt mode. After installing everything and starting Emacs I get:- Error in init file: Symbol's function definiation is void: mapc I tried to look through the list archive but got an error from the search page:- htsearch detected an error. Please report this to the returned matches webmaster of this site. The error message is: Unable to read configuration file '/bigassraid/htdig//conf/10811.conf' As per the install instrucitons, here is my (reduced) .emacs file:- (mapc (lambda (x) (pushnew (expand-file-name x) load-path)) (list "~/emacs" "~/emacs/xslt-process-2.0/lisp" "~/emacs/elib-1.0" "~/emacs/speedbar-0.14beta1")) (autoload 'xslt-process-mode "xslt-process" "Emacs XSLT processing" t) (add-hook 'sgml-mode-hook 'xslt-process-mode) (add-hook 'xml-mode-hook 'xslt-process-mode) (add-hook 'xsl-mode-hook 'xslt-process-mode) Thanks, John. -- Texas Instruments Inc Product Development tel:214 480 4253 PO BOX 660199 MS: 8645 FORE/A-3101 fax:214 480 4401 12500 TI Boulevard Dallas, TX 75266-0199 nawk nawk, Who's there ? Aho, Weinberger and Kerninghan. |
From: Carsten O. <obe...@do...> - 2001-07-29 09:09:27
|
Hi all, I'm trying to get xslt-process to run on emacs 20.3.1 (linux). Installed elib 1.0 and speedbar 0.13a, then xslt-process 2.0. When opening an XML file, apparently while loading xslt-speedbar.el I get the message File mode specification error: (void-variable xslt-process-boolean-type-image) and xslt-process-mode is not started. Looks like there's a problem defining xslt-process-boolean-type-image. When trying to start xslt-process by hand, I get Symbol's value as variable is void: xslt-process-boolean-type-image again in xslt-speedbar.el. Since know little about elisp, I'm not sure what's going on here. I looked at the speedbar code, and found that 'defimage-speedbar' should be defined as a dummy macro in sb-image.el and thus not look for an image file at all. So why the 'File mode specification error'? I'm confused. Can anybody help me? .co. -- carsten oberscheid d o c t r o n i c email obe...@do... information publishing + retrieval phone +49 2222 9292 90 http://www.doctronic.de |
From: Ovidiu P. <ov...@xe...> - 2001-07-14 19:04:12
|
Hi, Sorry for being late with my response; I've been in vacation for one week and this last week was too hectic at work. On Wed, 04 Jul 2001 16:06:03 +0200, Ingo Kampe <in...@in...> wrote: > I tried to install the xslt-process global for all xemacs users. > So I added the .emacs lines from your Install documentation > to the site-basic.el of my xemacs installation. > Normally this works fine with all the other modes. > > My problem is that xemacs open xml files now with loading xslt-process > (as I wanted) but the files are then just read-only. > And the XSLT menu don't appear. My guess is the XSLT-process mode is not setup for the XML files you open. Do you see an XSLT indicator in the modeline? Another way of testing this is by typing C-h m, which will give you a list of currently active modes for a buffer. Ovidiu |
From: Ingo K. <in...@in...> - 2001-07-04 14:06:09
|
Hallo, I tried to install the xslt-process global for all xemacs users. So I added the .emacs lines from your Install documentation to the site-basic.el of my xemacs installation. Normally this works fine with all the other modes. My problem is that xemacs open xml files now with loading xslt-process (as I wanted) but the files are then just read-only. And the XSLT menu don't appear. Do you have any ideas. Thanx, Ingo my added lines in site-basic.el: ;; XSLT-process Minor Mode (mapc (lambda (x) (pushnew (expand-file-name x) load-path)) (list "/apps/xemacs-21.1.12/lib/xemacs/xemacs-packages" "/apps/xemacs-21.1.12/lib/xemacs/xemacs-packages/xslt-process-2.0/lisp")) (autoload 'xslt-process-mode "xslt-process" "Emacs XSLT processing" t) (add-hook 'sgml-mode-hook 'xslt-process-mode) (add-hook 'xml-mode-hook 'xslt-process-mode) (add-hook 'xsl-mode-hook 'xslt-process-mode) -- Pixelpark AG............................... Ingo Kampe . Internet Administration Rotherstrasse 8 . 10245 Berlin . Germany mailto: in...@in... http://www.pixelpark.com |
From: Ovidiu P. <ov...@xe...> - 2001-06-25 04:53:44
|
Hi, On Thu, 21 Jun 2001 09:01:49 -0400, "Jeff Rancier" <jef...@so...> wrote: > Using the menu bar I select XSLT-process, then attempt to click on > Xalan-2.1.0, but the Saxon parser still continues to perform the parsing. > Is this a bug? I don't see this behavior here. How can you tell that Saxon is invoked instead of Xalan? Have you checked the message area? It should say what processor is invoking. If it still doesn't work, please submit a bug report using the menu entry in XSLT => Help => Submit bug report. That will help me investigate your problem more thoroughly. Regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) |
From: Ovidiu P. <ov...@cu...> - 2001-06-24 05:03:20
|
Hi John, On Fri, 22 Jun 2001 11:15:37 -0700 (PDT), "John L. Utz III" <ut...@si...> wrote: > I have an idea..... > > On Thu, 21 Jun 2001, Ovidiu Predescu wrote: > > > On Thu, 21 Jun 2001 15:03:43 -0400, Mat...@i2... wrote: > > > > > I was thinking more along the lines of opening an XML file and having ECB > > > > How would see such an user interface? > > > > One possibility I see right now is to combine semantic with speedbar > > or ECB, and show in the window a hierarchical view of the XML > > document. I'm a little worried though that for large documents this > > gets easily out of control. > > use selective display! as in 'M2Cx$' if the doc was over a certain size, > you could just invoke selective display on startup. > > i think that this is a really neat idea and would create a tool that would > hold it's own against any number of expensive proprietary tools. > > * (note that i actually think that it does hold it's own already, but this > might make it significantly more intuitive for the typical new xml/xslt > user) * I'm not familiar with the notion of selective display. Can you please elaborate on it a little bit? From what I saw so far, there are at least three ways to represent an XML document. One is the XML tree representation, which shows the nesting of the XML elements in a collapsible tree. This has the advantage of quickly navigating through your document. The disadvantage is when the document is either large or has a deep nesting of XML elements, in which case navigating the tree becomes really difficult. Another representation is the tabular representation, where you show repetitive XML elements as a table. Clicking on an cell in the table expands the XML element further, possibly in another table. This has an obvious advantage for simple XML documents where the data is repetitive and the XML hierarchy is not deep. The disadvantage is that if your data is not of this kind, the table view tends to expand horizontally and vertically quite a bit. The other well known representation is of course the plain XML document, which personally I prefer. I like the folding of XML elements provided by PSGML better than showing them in a tree or in a table, but this is my preference. The element navigation provided by PSGML is also very nice. However other people might find the tree and tabular representation better than this one. Is it worthwhile trying to implement something like the first two views? The tree view might be simple to do, but the tabular view seems quite complex and not very well suited for Emacs. Regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) |
From: Jeff R. <jef...@so...> - 2001-06-21 12:59:54
|
Hello, Using the menu bar I select XSLT-process, then attempt to click on Xalan-2.1.0, but the Saxon parser still continues to perform the parsing. Is this a bug? Jeff |
From: Ovidiu P. <ov...@cu...> - 2001-06-20 09:12:07
|
XSLT-process is a minor mode for GNU Emacs/XEmacs which transforms it into a powerful editor with XSLT processing and debugging capabilities. With this mode you can: - run an XSLT processor on the Emacs buffer you edit, and view the results either in another Emacs buffer or in a browser. - run an XSLT processor in debug mode and view what happens during the XSLT transformation. You can set breakpoints, run step by step into your stylesheet, view global and local XSLT variables and many more. Currently the Saxon and Xalan Java XSLT processors are supported, and the mode comes out of the box configured to use them. The package has been tested on XEmacs 21.1.14 and GNU Emacs 20.7.1, under both Linux and Windows 2000. The package is free software and is distributed under GPL. The home page of XSLT-process is located at: http://xslt-process.sourceforge.net/ Enjoy, Ovidiu Predescu |
From: Ovidiu P. <ov...@xe...> - 2001-06-05 14:37:37
|
Hi Carsten, On Tue, 29 May 2001 14:54:14 -0400, Carsten Heinrigs <ca...@oc...> wrote: > Hi Ovidiu, > > just installed your xslt-process-1.2.2 minor mode. Like the concept > very much. A serious limitation so far is the ability to use > parameters (xsl:param). Showing the result (in case output is html) > in the W3 mode or Netscape would be a great addition. I am planning to add these features for the next release, they are in the ToDo list. You may want to check out the SourceForge project at: http://sourceforge.net/projects/xslt-process/ for the next version of it. The source code is only in CVS for the moment, there's no release yet. I hope to create a release as soon as I write some documentation for it. The new features of this release include debugging abilities (for Saxon only now), error reporting through a compilation-like buffer, improved start-up time (by not using BSH anymore) and less dependencies on external packages. > > there was a problem with the stylesheet href. had to specify the path like > <?xml-stylesheet href="/home/httpd/tomcat/webapps/xmltrans/ncpprs/allprs.xsl" type="text/xsl"?> > or > <?xml-stylesheet href="file:///home/httpd/tomcat/webapps/xmltrans/ncpprs/allprs.xsl" type="text/ > xsl"?> > > using the relative path > <?xml-stylesheet href="allprs.xsl" type="text/xsl"?> > > returned > Could not create transformer for: file://home/httpd/tomcat/webapps/xmltrans/ncpprs/allprs.xsl > > The problem is a missing '/'. > > Used TrAX with Saxon 6.3 This should work, at least works for me with the development version of the mode. Please give it a try if you have time. Regards, Ovidiu -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) |
From: Ovidiu P. <ov...@xe...> - 2001-06-03 22:39:58
|
On Tue, 29 May 2001 16:47:36 -0400, Carsten Heinrigs <ca...@oc...> wrote: > grabbed the new sources from cvs and tried it. > > When i try to start 'xslt-process' it says > Wrong type argument: integerp, nil Can you do a cvs update and see if the error still persists? I fixed how the Java class files are loaded. If you do get this error, please set the variable debug-on-error to t and let me know the result. You can do this by evaluating using M-: the Lisp expression: (setq debug-on-error t) Please send me the stack trace you get. Thanks, Ovidiu |
From: Carsten H. <ca...@oc...> - 2001-06-03 17:46:12
|
grabbed the new sources from cvs and tried it. When i try to start 'xslt-process' it says Wrong type argument: integerp, nil carst -- Carsten Heinrigs Ocean-7 Development Tel: 212-533-8460 |
From: Ovidiu P. <ov...@xe...> - 2001-06-03 06:57:10
|
On Tue, 29 May 2001 18:06:14 -0400, Carsten Heinrigs <ca...@oc...> wrote: > updated from cvs. unfortunately the error is still there. > here is the backtrace: > > Signaling: (wrong-type-argument integerp nil) > make-char-table(char) > (defvar xslt-process-escape-char-table (make-char-table (quote char)) "Mapping table for escape > characters.") > eval-buffer(#<buffer *load*> nil "xslt-process") > load-with-code-conversion("/usr/local/share/emacs/xslt-process/lisp/xslt-process.el" "xslt-proc > ess" nil nil) > xslt-process-mode() > run-hooks(xml-mode-hook) > derived-mode-run-hooks(xml-mode) > xml-mode() > call-interactively(xml-mode) > execute-extended-command(nil) > * call-interactively(execute-extended-command) Thanks for going through the hoops, I looked at the stack trace and I found that GNU Emacs has a different syntax for make-char-table. I use XEmacs for my development and do ports to GNU Emacs from time to time only. I will look into the problem and let you know when I have a fix for it. > When searching for a xsl-mode i found the following package > http://www.menteith.com/xslide/ > > They mention a 'xsl-process' which sounds like a reduced version of yours. Yes, I discovered that too some time ago. The XSLT processing though seems to create the XSLT processor each time you invoke it, thus there is a start-up overhead each time you run it. I use the editing mode for XSLTs though, it's quite nice. Regards, Ovidiu |
From: Carsten H. <ca...@oc...> - 2001-06-03 00:35:31
|
Hi Ovidiu, updated and found that you fixed the error. Don't have much time now but found a quick problem. Cannot find the trax XSLT processor for debugging! java.lang.ClassNotFoundException: xslt.debugger.trax.XSLTDebugger Will do more testing during the next days. Regards carst -- Carsten Heinrigs Ocean-7 Development Tel: 212-533-8460 |
From: Carsten H. <ca...@oc...> - 2001-06-02 20:22:11
|
updated from cvs. unfortunately the error is still there. here is the backtrace: Signaling: (wrong-type-argument integerp nil) make-char-table(char) (defvar xslt-process-escape-char-table (make-char-table (quote char)) "Mapping table for escape characters.") eval-buffer(#<buffer *load*> nil "xslt-process") load-with-code-conversion("/usr/local/share/emacs/xslt-process/lisp/xslt-process.el" "xslt-process" nil nil) xslt-process-mode() run-hooks(xml-mode-hook) derived-mode-run-hooks(xml-mode) xml-mode() call-interactively(xml-mode) execute-extended-command(nil) * call-interactively(execute-extended-command) When searching for a xsl-mode i found the following package http://www.menteith.com/xslide/ They mention a 'xsl-process' which sounds like a reduced version of yours. thx carst -- Carsten Heinrigs Ocean-7 Development Tel: 212-533-8460 |
From: Ovidiu P. <ov...@xe...> - 2001-06-02 13:26:09
|
You need to remove all the configuration options for the previous version of XSLT-process from your .xemacs-options or ~/.emacs file. Just search for variables that start with xslt-process and remove the corresponding lines. Thanks, Ovidiu On Wed, 30 May 2001 16:45:39 -0400, Carsten Heinrigs <ca...@oc...> wrote: > Hi Ovidiu, > > updated and found that you fixed the error. > Don't have much time now but found a quick problem. > > Cannot find the trax XSLT processor for debugging! > java.lang.ClassNotFoundException: xslt.debugger.trax.XSLTDebugger > > Will do more testing during the next days. > > Regards > carst > -- > Carsten Heinrigs > Ocean-7 Development > Tel: 212-533-8460 > > |
From: Frank T. <fra...@in...> - 2001-06-02 13:21:04
|
with the newest checkout version, everything works fine. the debugging mode looks really interesting. thanks for your reply. Regards, Frank |
From: Carsten H. <ca...@oc...> - 2001-06-02 11:56:24
|
Hi Ovidiu, just installed your xslt-process-1.2.2 minor mode. Like the concept very much. A serious limitation so far is the ability to use parameters (xsl:param). Showing the result (in case output is html) in the W3 mode or Netscape would be a great addition. there was a problem with the stylesheet href. had to specify the path like <?xml-stylesheet href="/home/httpd/tomcat/webapps/xmltrans/ncpprs/allprs.xsl" type="text/xsl"?> or <?xml-stylesheet href="file:///home/httpd/tomcat/webapps/xmltrans/ncpprs/allprs.xsl" type="text/xsl"?> using the relative path <?xml-stylesheet href="allprs.xsl" type="text/xsl"?> returned Could not create transformer for: file://home/httpd/tomcat/webapps/xmltrans/ncpprs/allprs.xsl The problem is a missing '/'. Used TrAX with Saxon 6.3 Thanks so much, carst -- Carsten Heinrigs Ocean-7 Development Tel: 212-533-8460 |
From: Ovidiu P. <ov...@xe...> - 2001-06-02 07:40:35
|
Thanks for the comments. Please let me know if you feel something else needs to be added. I still want to add support for passing parameters to XSLT sheets, and the ability to view the processing result in an external browser. Greetings, Ovidiu On Wed, 30 May 2001 14:05:41 +0200, "Frank Taffelt" <fra...@in...> wrote: > with the newest checkout version, everything works fine. > the debugging mode looks really interesting. > > thanks for your reply. > > Regards, > Frank > > > |