Hi
On Wed 29-May-2002 at 10:26:44AM +0200, Thomas Baker wrote:
>
> And now, after working with these flat text files for awhile and
> finding them _very_ easy to maintain (once set up) -- you edit them
> with a plain text editor, everyone can read them, I can paste them
> into email messages, etc -- I am now wondering whether the flat text
> files could be the upstream origin of the entire work-flow.
If the text files had a little bit more information added using XHTML
(class and id attributes or whatever works) would it be possible to use
XSLT to transform them into RDF and the other versions that are needed?
Something along the lines of the XSLT used to generate RSS RDF from
http://www.w3.org/ -- see here:
http://www.w3.org/2000/08/w3c-synd/#
For example you noted that the HTML version is missing lang:
-- Only the RDFS specifies lang="en" for the label and definition.
Could these be added something like this?
<a name=title-003>
VMS-ID: title-003
Name: title
URI: <a HREF="http://purl.org/dc/elements/1.1/title">http://purl.org/dc/elements/1.1/title</a>
Label: <span xml:lang="en">Title</span>
Definition: <span xml:lang="en">A name given to the resource.</span>
I realise that this would be a fairly evil hack... but if it works and makes
maintenance easy...
Chris
--
Chris Croome <[log in to unmask]>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
everything else http://chris.croome.net/
|