[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How 2 output tags att with XSL

  • From: "G. Ken Holman" <gkholman@C...>
  • To: "?l?c L??YqmFk=" <shinichiro.hamada@t...>, "ML XMLDev" <xml-dev@i...>
  • Date: Thu, 14 Jan 1999 09:20:02 -0500

xsl output tags
At 99/01/14 20:30 +0900, ?l?c L??YqmFk= 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");  
  data.load(WScript.Arguments(0));
  style.load(WScript.Arguments(1));  
  WScript.Echo( data.transformNode( style.documentElement ));  

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

  http://www.microsoft.com/management/wsh.htm

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@C...
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@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.