Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
| Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 22nd, 2005, 01:50 PM
Authorized User
 
Join Date: Nov 2003
Location: Ellicott City, Maryland, USA.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default MSXML4.0: 1) Getting Started & 2) First XSL & HTML

Hi all,
I have 2 computer systems:
(i) Microsoft Windows 2000 on NT 4.0 LAN in my office.
    We have Microsoft Office 2003 installed in the LAN and
    MS Internet Explorer 6.

(ii) Microsoft Windows XP Pro in my home computer.
     I have Microsoft 2003 and Visual C++ .NET 2002 installed
     in my home computer and AT&T Internet provider.

I have just downloaded and installed the following to (i) and (ii):
MSXML 4.0 Service Pack 2 (Microsoft XML Core Services)
File Name: File Size
msxml.msi 5166
msxml4msms.exe 768
MSXML4SP_RelNote.htm 23
msxmlcab.exe 723
msxmlsdk.exe 3392

Question #1: I can not see the MSXML 4.0 program from the "Start" -"Programs" to do the XSLT in both (i) and (II). Do I have the MSXML 4.0 installed properly in (i) and (ii)?

Question #2: I have 2 kinds of XML files: one for MS Word 2003 and the other for MS Excel 2003 and MS Access 2003. How can I get the XSLT started via MSXML 4.0 to get the output in HTML, Word, Excel or Access?

Please help and advise.

Thanks in advance,
BigOcean



Scott Chang
__________________
Scott Chang
  #2 (permalink)  
Old February 25th, 2005, 05:44 PM
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't have an answer to your second question, but as to the first: you won't see MSXSL in your Start menu - it's a command line program. Assuming you have it installed correctly, open a command prompt, navigate to the folder where your xml and xsl files are, and use this syntax to transform:

msxsl inputXML.xml tranformXSL.xsl -o output.html

where inputXML is the xml file, transformXSL is your xsl file, and output is the name of the html file you want to create. There's also a way to run transforms from within IE6 - I think you just need to open the xml file in IE6, assuming that you have the stylesheet linked into the xml file like so:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="transformXSL.xsl"?>

should be the first two lines of your XML file.



Similar Threads
Thread Thread Starter Forum Replies Last Post
XSL & JavaScript Ryan Moore XSLT 1 October 9th, 2007 01:36 PM
XSL & SSI - Is it possible? kwilliams XSLT 1 August 9th, 2005 09:48 AM
Javascript && keeps turnig into &amp;&amp; ayrton Pro VB.NET 2002/2003 3 June 27th, 2005 03:34 PM
Linux & KDE & C++ & QT & MYSQL & Kdevelop Munnnki Linux 0 January 2nd, 2005 05:41 PM
Getting started with CR & ASP.NET George H. Crystal Reports 1 May 3rd, 2004 06:22 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.