www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > XML

    XML Discussion and technical support for using and deploying XML applications and websites.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 11-24-2002, 05:23 PM
    ranadan ranadan is offline
    Registered User
     
    Join Date: Nov 2002
    Location: KCMO
    Posts: 6
    Angry Can't use XML on fortune city, geocities, etc.

    Hi there! I am trying my darndest to upload my xml, xslt and dtd files to some of the free web hosts. First I had to rename my xslt and dtd files to trick the site into thinking they were text files because the sites won't take them for some reason. Next I execute the XML and it does not see the DTD so I embedded the DTD in my XML file which works on my PC but not on the web site because it can't understand the xslt (stylesheet). I then tried to embed the stylesheet but that doesn't work because it see the start tag of the stylesheet as being an additional header tag in the XML doc.

    If anyone could help me I would appreciate it. Oh I did rename the files back to DTD and XSLT, respectively, once they were up on the web. In case you were wondering
    __________________
    Ranadan
    Reply With Quote
      #2  
    Old 11-24-2002, 06:02 PM
    Zach Elfers Zach Elfers is offline
    Registered User
     
    Join Date: Nov 2002
    Posts: 631
    There are good reasons why geocities doesn't let you upload those files. (ASP, PHP, PERL, CGI also) The main reason is they are a security risk, and another is you have a free website. If they are going to let you put any file on you want, they are losing business.
    Reply With Quote
      #3  
    Old 11-24-2002, 07:04 PM
    ranadan ranadan is offline
    Registered User
     
    Join Date: Nov 2002
    Location: KCMO
    Posts: 6
    CGI?

    But XML isn't really CGI, well maybe but it doesn't require any special software to run, like ODBC or JInitiator, etc.

    My real question was, can you embed XSLT into your XML?
    __________________
    Ranadan

    Last edited by ranadan; 11-24-2002 at 07:06 PM.
    Reply With Quote
      #4  
    Old 11-24-2002, 07:16 PM
    Zach Elfers Zach Elfers is offline
    Registered User
     
    Join Date: Nov 2002
    Posts: 631
    I mentioned CGI as another language it doesn't accept, not what XML is.
    Reply With Quote
      #5  
    Old 11-24-2002, 07:58 PM
    ranadan ranadan is offline
    Registered User
     
    Join Date: Nov 2002
    Location: KCMO
    Posts: 6
    CGI again

    I only mentioned CGI because XML doesn't fall into any other category you mentioned like asp, etc. CGI is not a language but more of a style. You can code CGI in any language. most people use perl and java to build thier dynamic documents. My question is simply this, can you embed xslt into xml in a way that the file would be accepted as xml but still be able to utilize the stylesheet? I am sorry for any confusion earlier.
    __________________
    Ranadan
    Reply With Quote
      #6  
    Old 11-24-2002, 08:36 PM
    Stefan Stefan is offline
    HTML-Mushroom
     
    Join Date: Nov 2002
    Posts: 984
    My question for you Ranadan is:
    -If you can't even upload a file named .xml how o you think the webserver will send the correct mimetype for the file?

    Reciving XML files as type="text/plain" won't work in nonbuggy browsers
    __________________
    // Stefan Huszics
    Reply With Quote
      #7  
    Old 11-24-2002, 08:53 PM
    Charles's Avatar
    Charles Charles is offline
    JavaScript Banned
     
    Join Date: Nov 2002
    Location: Baltimore, Maryland
    Posts: 11,667
    Yes, XSL can be embeded in XML. See http://www.w3.org/TR/xslt#section-Embedding-Stylesheets for details.
    Reply With Quote
      #8  
    Old 11-24-2002, 09:25 PM
    ranadan ranadan is offline
    Registered User
     
    Join Date: Nov 2002
    Location: KCMO
    Posts: 6
    THANKS!

    Stefan: I was able to upload my XML but not my XSLT and DTD. It took the XML fine but not the other 2.

    Charles: THANKS MAN!
    __________________
    Ranadan
    Reply With Quote
      #9  
    Old 11-24-2002, 09:28 PM
    ranadan ranadan is offline
    Registered User
     
    Join Date: Nov 2002
    Location: KCMO
    Posts: 6
    EMBEDDED XSL

    Charles: Thanks again. Another problem. LOL I am using my stylesheet to pretty much build my HTML but I suppose I can code a work around so that it is loaded with and HTML doc.

    I am only doing this until I can get a credit card to purchase webspace with a provider that supports java, cgi, etc.

    Thanks again.
    __________________
    Ranadan
    Reply With Quote
      #10  
    Old 11-25-2002, 07:01 AM
    Charles's Avatar
    Charles Charles is offline
    JavaScript Banned
     
    Join Date: Nov 2002
    Location: Baltimore, Maryland
    Posts: 11,667
    I think it's a little early yet to be publishing in XML. I run my documents through a processor and publish the resultant HTML or PDF. Two XSLT processors that I like are Saxon (http://saxon.sourceforge.net/) and Xalan (http://xml.apache.org/xalan-j/index.html). For XSL-FO processing I use FOP (http://xml.apache.org/fop/index.html).
    Reply With Quote
      #11  
    Old 11-30-2002, 02:28 PM
    ranadan ranadan is offline
    Registered User
     
    Join Date: Nov 2002
    Location: KCMO
    Posts: 6
    Got a new site, now I can XML away, lol

    I fixed my XML problem. I got hosted by UnitedHosting.co.uk

    Now I can do whatever I want! Only downfall is that I had to set my system up as a duel boot so that I can work on my applets and cgi (in the future) because the host is linux. But is that really a downfall? I like Linux. Anywho my site is www.pcgamergeeks.com
    and if you want to see the XML file it's at www.pcgamergeeks.com/xml/web_catalog.xml
    __________________
    Ranadan
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 12:33 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.