This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Transforming SGML


/ Josef Karthauser <joe@tao.org.uk> was heard to say:
| Imagine that I define a new element, <xequation> some tex equation </xequation>.
| Is it possible to use DSSSL to rewrite this as:
| <inlineequation> <graphic fileref="foo"> </graphic> </inlineequation>
| and have the rest of the stylesheets process the inlineequation in
| the normal way?

You could write a stylesheet to do that, but you couldn't also process
the result with the standard DocBook stylesheets in the same pass.
You'd have to implement a two-pass process.

| I haven't got my head around DSSSL enough yet to know whether this is
| possible or not.

It's technically possible with the DSSSL standard, but not with Jade.
(Jade doesn't implement the transformation language portion of DSSSL.)

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Any bureaucracy reorganized to
http://www.oasis-open.org/docbook/ | enhance efficiency is
Chair, DocBook Technical Committee | indistinguishable from its
                                   | predecessor.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]