If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Feb 2008
    Member #
    Hi friends,
    How do I test a XML/xslt file?
    I am a new person to learn XML/xslt. I copied files from book and try to open it.
    But I got message as
    The XML page cannot be displayed

    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. Invalid at the top level of the document. Error processing resource 'file:///C:/JXML.xml'. Line 1, Position 39
    <?xml version="1.0" encoding="UTF-8"?>***************I save XML in local.<?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="test/xml" href="jim.xsl"?>
    <pet type="cat">Max</pet>
    <pet type="parrot">Peter</pet>
    </pets>and jim xslt file as
    <?xml version="1.0" encode="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="">
    <xsl:template match="pet">This is my pet.</xsl:template>

    Thanks for any help!



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 09:15 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: