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 8736991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:25:12+00:00 2026-06-13T10:25:12+00:00

I am having a very hard time trying to write out an xml file

  • 0

I am having a very hard time trying to write out an xml file from asp vbscript to a text file using the Scripting.FileSystemObject. The issue is the less than and greater than chars. In order for me to add these characters to variables in the code i need to use &lt ; &gt ;. This causes a problem when writing the text. The results look like this

<copyright>request copyright</copyright>
<lastBuildDate>10/26/2012</lastBuildDate>

proper format should be as such

<copyright>request copyright</copyright>
<lastBuildDate>10/26/2012</lastBuildDate>

Is there some sort of trick to converting those segments while writing the text file, or do i need to do something a bit more extravagant?

Thanks in advance!

  • 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-13T10:25:13+00:00Added an answer on June 13, 2026 at 10:25 am

    When writing in the TextStream, you could just surround your variables with two calls to Replace

    TextStream.Write Replace(Replace(myString, "&lt;","<"),"&gt;",">")
    

    This way the variables aren’t altered, but the written out data uses the right characters.

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

Sidebar

Related Questions

I am having a hard time trying to make the very last UITableViewCell from
I'm having a very hard time trying to do something very simple. Here's the
I'm having a very hard time at trying to do trivial things with Visual-generated
I'm having a very hard time trying to access a custom configuration section in
I'm having a hard time figuring this problem out - I am trying to
This is my first time using ICU API, and I'm having a very hard
I'm having a very hard time trying to come up with html/css for a
I'm having a hard time trying to figure this out. I have a button_to
I've been having a very hard time finding good examples of UIScrollView. Even Apple's
i am very new to Adobe Air and i am having a hard time

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.