Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old February 20th, 2003, 04:55 AM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
Changing the style of SGML stylesheets

Sorry if this is on the wrong board - Linux seemed the most appropriate!

I'm writing some documents with the Docbook SGML DTD, and I'm using openjade to convert to HTML for online copies. I'd like to be able to modify how the various SGML tags are converted; specifically I would like to be able to add some CSS code at the top of the file, to change the appearance of various tags. I can do it manually, but it's a pain having to redo it everytime I generate a new version from the SGML code.

Basically, can someone tell me how to modify the stylesheets? I've looked at lots of .dsl and .dtd files in /usr/share/sgml/docbook, and I've read [url=http://docbook.sourceforge.net/release/dsssl/current/doc/]Norman Walsh's docs on the stylesheets, but I'm none the wiser All I can find is info on how to change docbook-specific defaults.

My only alternative here is to write a Perl script to automatically do the jade work, then use regular expressions to change bits I like. But I'd much prefer to o it properly, if possible.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Changing the style of SGML stylesheets


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway