OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: How 2 output tags att with XSL

[ Lists Home | Date Index | Thread Index ]
  • From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
  • To: "lc LYqmFk=" <shinichiro.hamada@toshiba.co.jp>, "ML XMLDev" <xml-dev@ic.ac.uk>
  • Date: Thu, 14 Jan 1999 09:20:02 -0500

At 99/01/14 20:30 +0900, lc LYqmFk= wrote:
>BTW, you seemed to use "call msxsl" dos command for debugging xsl behavior.
>I don't know it. I want to debug xsl too, i don't have that command. Where
>can i get it?
>>T:\FTEMP>call msxsl test.xml test.msxsl test.htm
>>T:\FTEMP>type test.htm

There was a 5-line script posted on the XSL list as follows:

  var data = WScript.CreateObject("Microsoft.XMLDOM");  
  var style = WScript.CreateObject("Microsoft.XMLDOM");  
  WScript.Echo( data.transformNode( style.documentElement ));  

There is a command line environment for scripting called the Windows
Scripting Host available at:


I created a batch file that takes the same arguments as XT: source, style
and destination:

  cscript //nologo p:\misc\js\xslproc.js %1 %2 >%3

This mimics what I use when I use XT, a batch file following James'
invocation requirements:

   call xsl infile.xml instyle.xsl outfile.???

... and when I want to debug something with MSXSL, I use:

   call msxsl infile.xml instyle.msxsl outfile.htm

Personally, I distinguish my files by different extensions for each of the
implementations of XSL.

I hope this helps.

........... Ken

G. Ken Holman         mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.  http://www.CraneSoftwrights.com/x/
Training:   http://www.CraneSoftwrights.com/x/schedule.htm
Resources: http://www.CraneSoftwrights.com/x/resources.htm
Shareware: http://www.CraneSoftwrights.com/x/shareware.htm
Next XSL Training (see training link):   WWW8 - 1999-05-11

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS