Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
  #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.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:49 PM.


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