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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:52:21+00:00 2026-05-28T03:52:21+00:00

I am harvesting a directory using heat, however, I couldnt find an option to

  • 0

I am harvesting a directory using heat, however, I couldnt find an option to set the “ReadOnly” attributes for all files harvest using heat.

Does anyone have know any way of doing it in heat?

  • 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-05-28T03:52:22+00:00Added an answer on May 28, 2026 at 3:52 am

    Apply an XSLT transform to the fragment generated by heat and add ReadOnly="yes" to every File element. This XSLT does the thing:

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns="http://schemas.microsoft.com/wix/2006/wi"
        xmlns:wix="http://schemas.microsoft.com/wix/2006/wi">
    
        <xsl:template match="wix:File">
            <xsl:copy>
                <xsl:apply-templates select="@*" />
                <xsl:attribute name="ReadOnly">
                    <xsl:text>yes</xsl:text>
                </xsl:attribute>
                <xsl:apply-templates select="*" />
            </xsl:copy>
        </xsl:template>
    
        <xsl:template match="*">
            <xsl:copy>
                <xsl:apply-templates select="@*" />
                <xsl:apply-templates select="* | text()"/>
            </xsl:copy>
        </xsl:template>
    
        <xsl:template match="@* | text()">
            <xsl:copy />
        </xsl:template>
    
        <xsl:template match="/">
            <xsl:apply-templates />
        </xsl:template>
    
    </xsl:stylesheet>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say several external sites are scraping/harvesting your content and posting it as their
I'm currently working on a little harvester, using this dataset of 2700 foundations .
I have a collection of legitimate media files (movies, songs, etc) which I have
I'm trying to help create a neighborhood directory and I want to discourage someone
Background: I find myself harnessing F# Records a lot. Currently I am working on
I'm very new to python and I need to parse some dirty xml files
I have a strange problem using the Cosine formula in my PHP application.. function
I'm trying to reorder UITableView in iOS application. After harvesting a lot of StackOverFlow
I have a current build using teambuild/msbuild that I need to integrate a wix
I am doing some sort of directory in ASP.NET, in which everyone has phone

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.