POV-Ray : Newsgroups : povray.general : Random thoughts about povray and xml : Re: Random thoughts about povray and xml Server Time
3 Aug 2024 14:14:30 EDT (-0400)
  Re: Random thoughts about povray and xml  
From: Warp
Date: 24 Mar 2004 05:31:30
Message: <40616382@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Not really. That's called a DTD, or more recently an equivalent thing 
> that you express in XML itself (XSLT or some such TLA?).

  Don't confuse XML, DTD and XSLT because they are different things (even
though related to each other).

  DTD defines the valid syntax of a certain XML-type file. For example, if
you want to define the valid syntax for a MathML or an XHTML file, you use
a DTD file for that. It defines which tags (and hierarchy of tags) and
their attributes are valid.

  XSLT is a stylesheet language for XML-type files. It tells how to
convert the XML file to something else (eg. to HTML so that a browser
can show the XML file). In other words, it defines how the XML file
should be shown.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.