info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XML Schema and DTD for CVS Info in XML files?


From: Herr Christian Wolfgang Hujer
Subject: XML Schema and DTD for CVS Info in XML files?
Date: Tue, 11 Mar 2003 22:34:55 +0100
User-agent: KMail/1.5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello dear CVS users,


I'd like to know wether there already exists an XML Schema and a DTD to 
include CVS information in XML files.

Currently, we use the following approach to use CVS information in XML files:
<!-- $Id$
  - $Source$
  - $State$
  - $Author$
  - $Revision$
  - $Date$
  -
  - Log: see end of file
  -->
<doc>
    <!-- ... -->
</doc>
<!--
  - $Log$
  -->

This is not very convenient when the information shall be extracted during a 
transformation with XSLT / XPath.

I'd rather like to use:
<doc
    xmlns:cvs="http://www....";
    cvs:Id = "$Id$"
    cvs:Source = "$Source"
    -- ... --
>
</doc>

It's much easier to extract information from attributes rather than from 
comments.

Are there already some "official" CVS Schema Modules and DTD modules which can 
easily be combined for instance with modularized XHTML (there I currently use 
meta elements) or modularized SVG to validate documents containing such CVS 
attributes?

If not, I'd develop some and provide them to the public (e.g. for inclusion 
with the CVS distribution).


Bye
- --
ITCQIS GmbH
Christian Wolfgang Hujer
Geschäftsführender Gesellschafter
Telefon: +49  (0)89  27 37 04 37
Telefax: +49  (0)89  27 37 04 39
E-Mail: address@hidden
WWW: http://www.itcqis.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+blaAzu6h7O/MKZkRAgktAJ9P6uN1n1s0nKoOzgyH3DkL+jvQGwCgtoHu
ZlXnpsBqSAMSCQ1UDGeDd+4=
=nG4/
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]