Computing.Net > Forums > Programming > XML HELP please~

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

XML HELP please~

Reply to Message Icon

Original Message
Name: rj1012
Date: June 26, 2004 at 11:50:38 Pacific
Subject: XML HELP please~
OS: Windows ME
CPU/Ram: 128 MB RAM
Comment:

Please help me, I am trying to view this page and it gives me this message....

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


----------------------

Cannot have a DOCTYPE declaration outside of a prolog. Error processing resource 'http://www.myyweeebbbbbpaggeeee....'. Line 3, Position 11

<!DOCTYPE html


Can anyone tell me what's wrong?


Report Offensive Message For Removal


Response Number 1
Name: Sanjaya Sugiarto (by Sanjaya)
Date: June 26, 2004 at 22:58:27 Pacific
Reply: (edit)

Hello Ghostman, nice to see you here again :)). Still Sygate-fan? No...i am not ZA-fan anymore ;))

So, for your problem:
I dont understand exactly what you meant. You meant you try to view a website on the net and the browser give you this error? If so, than nothing you can do. It's a programming-error and the webmaster should do some repair.

If you try to view your owned xml files than:
1. Make sure that you have valid and wellformed xml, dtd and xsl files (nice free xml editor is XMLCooktop --- http://www.xmlcooktop.com/ )

2. If you want to use DTD or not than you should specify the attribute [standalone], if "yes" than that means you dont use any DTD, if "no" than that means you use DTD:
<?XML version=“Number“ [encoding=“encoding-type“] [standalone=“yes|no“]?>

Example:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

Above example means DTD is a must.

3. Make sure you make the valid link between your xml and dtd:

<!DOCTYPE RootElement SYSTEM "dtdfile.dtd">

This should go after the
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

4. If you wanna do conversion things using xslt than make sure you have the xslt processor like XalanJ, Saxon, etc.

5. Than you should link the xml and xsl file.

San



Report Offensive Follow Up For Removal

Response Number 2
Name: rj1012
Date: June 27, 2004 at 07:40:53 Pacific
Reply: (edit)

Hello Sanjaya Sugiarto!

Thanks for the reply... I was trying to view the page on a website and this was the error that it gave me!

By the way, I am not the "Ghost Man" That you might be thinking of... Sorry :(

But thanks for the reply, I will alert the webmaster.

Thanks once again!

-Ghooooost!


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software