Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > 100% pure XML driven web sites

Reply
Thread Tools

100% pure XML driven web sites

 
 
Charles
Guest
Posts: n/a
 
      12-26-2004
I create web sites with XHTML 1.0 Transitional, wich is compatible with
the XML specification on the W3C web site. I was wondering if it's
possible to create real-world web sites with only XML files (not using any
HTML markups) and external style sheets.
If so, do you have useful links, and examples? I'm just curious. I didn't
find relevant material on XML.com
Thanks a lot.

--
Charles.
 
Reply With Quote
 
 
 
 
Martin Honnen
Guest
Posts: n/a
 
      12-26-2004


Charles wrote:

> I create web sites with XHTML 1.0 Transitional, wich is compatible with
> the XML specification on the W3C web site. I was wondering if it's
> possible to create real-world web sites with only XML files (not using
> any HTML markups) and external style sheets.


There are people building web sites with SVG only, but of course SVG is
like XHTML a well defined XML application. And to use SVG sites you
usually need a plugin like the Adobe SVG viewer.
As for creating and styling your own markup language, with browsers like
Mozilla and Opera that have strong CSS 2 support that is possible. But
then what do you intend to do to have a link for instance? You would
then need to turn back to XHTML and include an
<a xmlns="http://www.w3.org/1999/xhtml" href="whatever.xml">link</a>
element or you would need to use XLink (which only Mozilla supports but
not Opera). I think Opera also has some CSS extension to turn an XML
element into a hyperlink but I have never used that.
So in my view it is not of much use, if you want to build a web site use
an established and well supported document type like text/html.
You can of course use XML to markup your data but if you want to have
people view that data with a browser then transform it to HTML for them.


--

Martin Honnen
http://JavaScript.FAQTs.com/
 
Reply With Quote
 
 
 
 
Martin Honnen
Guest
Posts: n/a
 
      12-26-2004


Charles wrote:


> If so, do you have useful links, and examples?


I said that people build web sites with SVG, the following book description
<http://www.pearson.ch/pageid/34/artikel/71166NR/NewRiders/0735711666/DesigningSVGWebGraphics.aspx>
mentions one but it seems to be gone.
You might want to ask on the SVG groups on groups.yahoo.com for existing
examples.


--

Martin Honnen
http://JavaScript.FAQTs.com/
 
Reply With Quote
 
Charles
Guest
Posts: n/a
 
      12-26-2004
> So in my view it is not of much use, if you want to build a web site use
> an established and well supported document type like text/html.
> You can of course use XML to markup your data but if you want to have
> people view that data with a browser then transform it to HTML for them.


Yes, thanks, I agree with you, I was just curious, and who knows, I might
try it just for fun



--
Charles.
 
Reply With Quote
 
Lakeuk
Guest
Posts: n/a
 
      12-27-2004

"Charles" <> wrote in message
newspsjmk6jfwix6gqv@pretinho...
> I create web sites with XHTML 1.0 Transitional, wich is compatible with
> the XML specification on the W3C web site. I was wondering if it's
> possible to create real-world web sites with only XML files (not using any
> HTML markups) and external style sheets.
> If so, do you have useful links, and examples? I'm just curious. I didn't
> find relevant material on XML.com
> Thanks a lot.
>
> --
> Charles.


Not sure exactly what you mean, (a website from just a xml file?), but I've
created a TV Guide website for use offline that currently contains around 10
pages and uses one xml file and one xsl file.

Site contains Now/Next, Favourites checking, search programmes, grid/listing
pages

You can download it at http://www25.brinkster.com/lakeuk/xmltv/xmltv.htm

The xsl can easily be used to produce other websites.

Dave


 
Reply With Quote
 
Charles
Guest
Posts: n/a
 
      12-27-2004
Em Mon, 27 Dec 2004 13:01:42 -0000, Lakeuk <> escreveu:

> Not sure exactly what you mean, (a website from just a xml file?)


Yes, I mean a xml file with a style sheet (not an XHTML or HTML file).
I guess it's not possible.

--
Charles.
 
Reply With Quote
 
Arjun Ray
Guest
Posts: n/a
 
      12-28-2004
On Sun, 26 Dec 2004 15:21:45 -0200, Charles wrote:

> I was wondering if it's possible to create real-world web sites with
> only XML files (not using any HTML markups) and external style sheets.


We're a long way from that yet, and, in my more pessimistic moments, I
think we may never get there.

A stylesheet technology is already in place, but while that's a very
important piece, it isn't the whole story. There are other packages of
semantic functionality which also need proper implementation. Links and
forms are two obvious examples. (XLink was a step in the right direction
at first. but then the XML Namespaces bogosity made a travesty of it.)

> If so, do you have useful links, and examples?


This is not an answer to your request, but if you can find a copy of "SGML
on the Web" by Yuri Rubinsky and Murray Maloney, the CD with that book has
Softquad's Panorama browser, which used the same essential idea behind
XLink to recognize various generic categories in arbitrary SGML markup.
(And that was nearly a decade ago.)

Right now, all you can hope for is that a Big Company[TM] or three might
expend the resources to implement some useful fractions of the bloated
specs emerging from the W3C.






 
Reply With Quote
 
Lakeuk
Guest
Posts: n/a
 
      12-28-2004
>
> Yes, I mean a xml file with a style sheet (not an XHTML or HTML file).
> I guess it's not possible.
>
> --
> Charles.


That being the case then take a look at my TV guide that uses a xml with a
style sheet

http://www25.brinkster.com/lakeuk/xmltv/xmltv.htm

Dave


 
Reply With Quote
 
docbook.xml@gmail.com
Guest
Posts: n/a
 
      12-30-2004
here is another interesting e.g.:
http://www.xml-dev.com/blog/index.php#114

This CSS is specifically for documents created using DocBook XML DTD,
but you might find it useful.

 
Reply With Quote
 
Peter Flynn
Guest
Posts: n/a
 
      12-31-2004
Charles wrote:

> I create web sites with XHTML 1.0 Transitional, wich is compatible with
> the XML specification on the W3C web site. I was wondering if it's
> possible to create real-world web sites with only XML files (not using any
> HTML markups) and external style sheets.
> If so, do you have useful links, and examples? I'm just curious. I didn't
> find relevant material on XML.com


Nor will you. There are thousands of these, but they all work by using an
XML-to-HTML converter like Cocoon, Axkit, or PropelX at the server end,
so the user doesn't need an XML-compatible browser.

If you mean XML-only sites, serving raw XML with CSS or XSLT for the browser
to interpret, they're fairly rare, because they would exclude users who are
still running older browsers (millions of them).

///Peter
--
"The cat in the box is both a wave and a particle"
-- Terry Pratchett, introducing quantum physics in _The Authentic Cat_
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com C Programming 5 04-25-2012 08:49 PM
[ANN] Packet : A Pure Ruby Library for Event Driven NetworkProgramming hemant Ruby 10 12-05-2007 12:32 PM
Free cPanel web hosting worth $100 for your Domain! 100 MB Web Space + Email + MySQL Database + FTP Access & More. 100% Free, No Hidden Fees! - cena Computer Support 0 10-30-2007 08:46 PM
Free cPanel web hosting worth $100 for your Domain! 100 MB Web Space + Email + MySQL Database + FTP Access & More. 100% Free, No Hidden Fees! - Vetri HTML 0 10-02-2007 04:59 AM
Pure functions still pure after definition Todd Aspeotis C++ 3 05-30-2005 03:53 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57