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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:30:56+00:00 2026-06-09T19:30:56+00:00

I have document grandchild.xml whose result after being processed with granchild.xsl must be forwarded

  • 0

I have document grandchild.xml whose result after being processed with granchild.xsl must be forwarded to child.xsl, then it must be finally processed and output by parent.xsl.

I have tried adding an xml-stylesheet element to the result document, expecting it to processed using by the referenced XSL stylesheet, but nothing happened.

What is the correct declaration to accomplish this task? I have searched a lot on Internet, with no results.

  • 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-09T19:30:57+00:00Added an answer on June 9, 2026 at 7:30 pm

    Unless anybody knows any better, I believe the ability to recursively process XSLT output on a browser is impossible.

    To prove it, I have just tried the following in IE8, FF14 and Chrome…

    level1.xml

    <?xml version="1.0" encoding="utf-8" ?> 
    <?xml-stylesheet title="XSL_formatting" type="text/xsl" href="level1.xsl"?>
    <data>
      <id>Level 1 data</id>
    </data>
    

    level1.xsl

    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       <xsl:template match="/">
         <?xml-stylesheet title="XSL_formatting" type="text/xsl" href="level2.xsl"?>
         <data2>
           <id2>Level 2: <xsl:value-of select="/data/id"/></id2>
         </data2>
       </xsl:template>   
    </xsl:stylesheet>
    

    level2.xsl

    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       <xsl:template match="/">
         <html>
           <body>
             <b>Level 3:</b> <xsl:value-of select="/data2/id2"/>
           </body>
         </html>
       </xsl:template>   
    </xsl:stylesheet>
    

    The result from all 3 browsers is simply to display Level 2: Level 1 Data.

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

Sidebar

Related Questions

I need some help. I have this xml document: <?xml version="1.0" encoding="utf-8"?> <MyItems> <Parent
I have document source in XML. I need to generate PDF and HTML pages
I have document <?xml version=1.0 encoding=utf-8 ?> <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd>
I have a document type of info I also have some custom properites. infoTitle
i have a document like this: English English English English 中文中文中文中文中文 English English English
I have a document file containing HTML markup. I want to assign the contents
I have pdf document, for example 25 pages. How to add one blank page
I have a Document object initialized in the init() method of the servlet and
I have a document library in SharePoint. When a new file is uploaded to
I have a document, something like this: <root> <A node=1/> <B node=2/> <A node=3/>

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.