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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:14:52+00:00 2026-05-16T16:14:52+00:00

I have content that I’ve structured as follows in the content section in umbraco:

  • 0

I have content that I’ve structured as follows in the content section in umbraco:

Items under the content node that have a folder icon are Content Pages.
A content page can have another content page as a child or a content section which are the items with doc with image icon.

alt text
(source: flickr.com)

I have a settings section that I’ve structured as follows:

Each SectionDocumentType has a limited number of available templates the user can select

alt text
(source: flickr.com)

What I’d like to do is to render Sections as rows of data in a content page while ignoring child content pages.

I’d like each section “row” to display template and all.

I’m new to XSLT so I’m wondering how could I do this?

Thanks for your help!

  • 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-16T16:14:52+00:00Added an answer on May 16, 2026 at 4:14 pm

    I figured this out.

    Here is the xslt:

    <?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#x00A0;"> ]>
           <xsl:stylesheet version="1.0"
            xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
           xmlns:msxml="urn:schemas-microsoft-com:xslt"
         xmlns:umbraco.library="urn:umbraco.library"
         xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon"
         xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes"
         xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath"
         xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions"
         xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings"
         xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets">
       <xsl:output method="html" omit-xml-declaration="yes"/>
    <xsl:param name="currentPage"/>
    <xsl:template match="/">
      <xsl:for-each select="$currentPage/child::*[@isDoc][@nodeType != 1230]">
          <xsl:value-of select="umbraco.library:RenderTemplate(@id,@template)" disable-output-escaping="yes"/>
      </xsl:for-each>
    </xsl:template>
    
    </xsl:stylesheet>
    

    Also I had to add this line to my content section <umbraco:DisableRequestValidation runat="server"/> in my content section templates.

    Here is how you use it in your page template.

    <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
    **<umbraco:DisableRequestValidation runat="server"/>** 
    **YOUR HTML GOES HERE**
    </asp:Content>​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some content that I want to appear on multiple pages of my
I have some pages that have content that is relevant to both logged in
Basically i have a div on my main page that contains the content, now
I have some content that i have to render as a excel file in
I have some content that I am loading using jquery ajax. The content has
In silverlight 2.0. I have some content that i want to scroll vertically and
I'm doing some in browser editing, and I have some content that's on the
I have blocks of content that are toggled on/off via jQuery and I want
I have this content script that downloads some binary data using XHR, which is
I want to parse a html content that have something like this: <div id=sometext>Lorem<br>

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.