Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7985311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:31:03+00:00 2026-06-04T11:31:03+00:00

How do you save translated XML to an actual file on disk? I am

  • 0

How do you save translated XML to an actual file on disk? I am new to XML/XSLT and I am trying to figure that out. I can’t seem to find any examples that work for me. For example, I just want to save the file to c:\temp\text.xls. How to I save it? Do I have to use java or .net or some other programming language/api? I was hoping to have the XSL just save the file.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:31:05+00:00Added an answer on June 4, 2026 at 11:31 am

    The XSL can’t do anything by itself. It’s just a definition for transforming an XML file into something else. To do anything with it you need to run the XSL Transform in a program, or using a tool like XML Spy.

    Update

    Here’s a simple example I wrote some years ago in VBScript:

    Dim xml, xsl, htm, fso, flOut
    
    Set xml = CreateObject("MSXML2.DOMDocument")
    Set xsl = CreateObject("Msxml2.DOMDocument")
    Set fso = CreateObject("Scripting.FileSystemObject")
    
    xml.load WScript.Arguments(0)
    xsl.load WScript.Arguments(1)
    htm = xml.transformNode(xsl)
    
    Set flOut = fso.CreateTextFile(WScript.Arguments(2))
    flOut.Write htm
    flOut.close
    

    I called it xmlTrfm.vbs. Use it like this:

    xmlTrfm.vbs [sourceFileName].xml [transformFileName].xsl [outputFileName].[ext]
    

    The file extension for the output file name obviously depends on the format that the XSL transform produces, usually xml, html or txt, but can be almost anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

An embaressing question, but I can't seem to translate the documentation to an actual
i save in mysql database the time using NOW() function. how can i change
How save insert sctipts in separate sql files in MySqlWorkbent? I can create database
I save the form elements to a file and the following is working as
I want to save my program's DataModel objects to a file, and be able
I am trying to save a record which has a many-to-one property mapping. I
I'm trying to save an excel spreadhseet from SQL Server Integration Services 2005. Unfortunatly
I'm trying desperately to create a catalog (. In) for my new application in
I've got a number (3232251030) that needs to be translated from Decimal to Binary.
Can I save page pictures from GreaseMonkey script directly to my hard drive? Is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.