OASIS Open Mailing List Archives  ·  All Lists  ·  docbook-tc  ·  2003-06

docbook-tc — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

Re: [docbook-tc] RelaxNG Tutorial link


Thanks for all this, Michael. Great stuff. Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: [email protected] On Thu, Jun 19, 2003 at 01:28:38AM +0900, Michael Smith wrote: > There are some XSLT stylesheets for converting the RNG XML syntax to the > compact syntax - > > http://www.pantor.com/download.html > > The RngToRnc-1_4.tgz tarball contains stylesheets for converting to > actual compact syntax (plain text) and also for converting to > syntax-highlighted HTML representations of that. > > I've uploaded the generated *.rnc files and HTML versions to: > > http://www.logopoeia.com/docbook/schema/relaxng/ > > The docbook.rnc.html file is the whole flattened schema in one big file. > The db-calshtml.rnc.html is the same thing, with the addition of the > hybrid HTML table model. > > The syntax highlighting is pretty slick. > > If you care to try the conversion yourself, I made a Makefile - > > http://www.logopoeia.com/docbook/schema/relaxng/Makefile > > If you have the 'schema' module checked out from Sourcefore DocBook CVS, > you should just be able to change the variables at the top if needed and > then just drop in into your schema/relaxng directory (along with the > untarred RngToRnc-1_4 directory for the stylesheets) and then run it. > > Be forewarned though: generating the compact syntax versions with those > stylesheets is really, really slow. > > --Mike > > Bob Stayton <[email protected]> writes: > > > Thanks, this is very helpful. I didn't realize there > > are two syntaxes for Relax NG. > > > > I noticed that the tutorial emphasizes the compact syntax. > > Norm has used the full XML syntax for his DocBook version > > that I found in CVS at: > > > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/docbook/schema/relaxng/ > > > > Norm, is there some reason for using XML over the compact > > syntax? I find the compact syntax much easier to read. > > Does one of the tools translate to the compact syntax? > > > > > > Bob Stayton 400 Encinal Street > > Publications Architect Santa Cruz, CA 95060 > > Technical Publications voice: (831) 427-7796 > > The SCO Group fax: (831) 429-1887 > > email: [email protected] > > > > > > > > On Tue, Jun 17, 2003 at 12:55:38PM -0600, Scott Hudson wrote: > > > FYI. Here's a link to the RelaxNG Tutorial. > > > > > > Best regards, > > > > > > --Scott > > > > > >

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]