Error loading stylesheet: Parsing an XSLT stylesheet failed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Please follow this troubleshooting guide to fix the issue:
    https://rankmath.com/kb/fix-sitemap-issues/#xml-text-declaration

    Looking forward to helping you. Thank you.

    ​​​​​​​

    I had the same issue because of a &rsquo; in <title> of the xsl file.

    I had to change the <title><?php echo esc_html( $title ); ?></title> to <title><?php echo html_entity_decode( $title ); ?></title> in includes/modules/sitemap/sitemap-xsl.php

    • This reply was modified 7 months, 2 weeks ago by Pastisd.
    • This reply was modified 7 months, 2 weeks ago by Pastisd.

    Hello,

    Thank you for contacting Rank Math today.

    I have submitted this issue to our dev team for closer investigation and we will be getting back to you in a short while.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hi,

    It looks like it’s a cache issue.

    On inner pages, the sitemap is showing the All In One SEO sitemap.

    Please clear the website and server cache and check again.

    Here is a screenshot of the page source of inner sitemaps: https://i.rankmath.com/dVaSaI

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘Error loading stylesheet: Parsing an XSLT stylesheet failed.’ is closed to new replies.