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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:26:12+00:00 2026-06-12T16:26:12+00:00

I am new in xml and xslt. I using classic asp for my web

  • 0

I am new in xml and xslt.

I using classic asp for my web coding. I using windows platform for my web pages. and in the local computer id “localhost/mywebpage”.

Today i try to run an xml file with xslt
but i getting error

 msxml3.dll error '80004005'

Keyword xsl:template may not contain xsl:for-each-group. 

below is my running code

in xml

<Lakes>
  <Lake>
    <id>1</id>
    <Name>Caspian</Name>
    <Type>Natyral</Type>
  </Lake>
  <Lake>
    <id>2</id>
    <Name>Moreo</Name>
    <Type>Glacial</Type>
  </Lake>
  <Lake>
    <id>3</id>
    <Name>Sina</Name>
    <Type>Artificial</Type>
  </Lake>
</Lakes>

In xslt (XSLT 2.0)

<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
        <xsl:for-each-group select="Lakes/Lake" group-by="Type">
            <xsl:result-document href="file{position()}.xml">
                <Lakes>
                    <xsl:copy-of select="current-group()"/>
                </Lakes>
            </xsl:result-document>
        </xsl:for-each-group>
    </xsl:template>
</xsl:stylesheet>

im my asp page

<%
        'load xml
        set xml = server.createobject("microsoft.xmldom")
        xml.async = false
        xml.load(server.mappath("test.xml"))

        'load xsl
        set xsl = server.createobject("microsoft.xmldom")
        xsl.async = false
        xsl.load(server.mappath("test.xsl"))

        set xdm= server.createobject("msxml2.domdocument")
        xdm.async = false
        xdm.loadxml(xml.transformnode(xsl))
        xdm.save(server.mappath("test_r.xml"))

%>

Wht i need to upgrade my xslt1.0 to xslt2.0?

  • 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-12T16:26:13+00:00Added an answer on June 12, 2026 at 4:26 pm

    You need to use an XSLT 2.0 processor; Microsoft does not have one so if you want to use XSLT 2.0 you need to look into third party options, like AltovaXML http://www.altova.com/altovaxml.html. Its API is documented at http://manual.altova.com/AltovaXML/altovaxmlcommunity/index.html?axcom_xslt2.htm. That is your best option for classic ASP as far as I can tell, if you move to ASP.NET then the .NET version of Saxon 9 or XmlPrime are also XSLT 2.0 processors available.

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

Sidebar

Related Questions

I'm using XSLT to process my ASP.Net web.config file to insert some extra log4net
i am pretty new to XSLT / XML and HTML. I have a XML
Can any one help in transforming my xml though XSLT. I am new to
I'm new to XML validation using .xsd files. Maybe I'm not even asking the
I want to output something similar to the following using XSLT XML: <myroot> <node1>
So my web application is primarily using XML for client to server interaction and
I am using xslt 1.0 stylesheet to worlk on xml file data. I have
I'm using XSLT to manipulate the data inside of an XML file (I'm taking
I'm trying to post-process the documentation XML file as a post-build XSLT transformation (using
Hi Can anyone help me in html to xml conversion using xslt in java.I

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.