Re: DOCBOOK-APPS: Re: DOCBOOK: Chunking with XML
/ Jirka Kosek <[EMAIL PROTECTED]> was heard to say: | Rune Enggaard Jensen wrote: | > | > Jirka Kosek wrote: | > | > > You can assign ID for this small document (e.g. ) and | > > specify this ID in rootid parameter for stylesheet: | > > | > > saxon -o chapter4.html whole_doc.xml /html/docbook.xsl "rootid=ch4" | > > | > | > Is it possible to do something similar using DSSSL/jade? | | AFAIK DocBook DSSSL stylesheets does not support this. You can do | similar tricks with marked sections (available only in SGML, not in | XML). Yes, but you can't do it from the command line. You could in OpenJade, but I've never used that. [[[ hmm, now that I go looking for the code, I see that it isn't in the stock stylesheets. Someone report that as a bug at sourceforge.net, will ya? :-) ]]] In your customization layer, add: (define ROOTID #f) ;(define ROOTID "dbre.pent.x.mix") (root (if ROOTID (process-element-with-id ROOTID) (process-children))) Now if you define ROOTID to be some ID value in your document, you'll get the desired behavior. Be seeing you, norm -- Norman Walsh <[EMAIL PROTECTED]> | The art of living is more like http://www.oasis-open.org/docbook/ | wrestling than dancing.--Marcus Chair, DocBook Technical Committee | Aurelius -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Re: DOCBOOK: Chunking with XML
Jirka Kosek wrote: > You can assign ID for this small document (e.g. ) and > specify this ID in rootid parameter for stylesheet: > > saxon -o chapter4.html whole_doc.xml /html/docbook.xsl "rootid=ch4" > Is it possible to do something similar using DSSSL/jade? Best regards Rune Enggaard -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
Re: DOCBOOK-APPS: Re: DOCBOOK: Chunking with XML
Rune Enggaard Jensen wrote: > > Jirka Kosek wrote: > > > You can assign ID for this small document (e.g. ) and > > specify this ID in rootid parameter for stylesheet: > > > > saxon -o chapter4.html whole_doc.xml /html/docbook.xsl "rootid=ch4" > > > > Is it possible to do something similar using DSSSL/jade? AFAIK DocBook DSSSL stylesheets does not support this. You can do similar tricks with marked sections (available only in SGML, not in XML). - Jirka Kosek e-mail: [EMAIL PROTECTED] http://www.kosek.cz -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]
DOCBOOK-APPS: Re: DOCBOOK: Chunking with XML
> 2) Is there a way to publish this smaller document as its own >html so that I can continually see that is looks correct >outside of the full document? You can assign ID for this small document (e.g. ) and specify this ID in rootid parameter for stylesheet: saxon -o chapter4.html whole_doc.xml /html/docbook.xsl "rootid=ch4" > 3) I am working in a windows shop and most people here have found >an affinity for XML spy. Are there any thoughts on its >ability to handle the needs of docbook publishing? Emacs sure >does a fine job. XML spy is quite data oriented, not so useful for free text XML editing IMHO. - Jirka Kosek e-mail: [EMAIL PROTECTED] http://www.kosek.cz -- To unsubscribe from this elist send a message with the single word "unsubscribe" in the body to: [EMAIL PROTECTED]