kibook / S1000D-XSL-Stylesheets

XSL stylesheets for publishing S1000D documents
Other
5 stars 2 forks source link

Are these XSL sheets compatible with specification 2.3? #3

Open darcome opened 2 years ago

darcome commented 2 years ago

Hi everyone,

just a quick question: are these XSL sheets compatible with specification 2.3?

Thanks in advance!

kibook commented 2 years ago

I don't believe so, the original project seems to have been written with 4.x in mind. Support for the 2.3 element names probably wouldn't be too difficult to add to the stylesheets, but it would take some time to adapt all the templates for them.

Alternatively, you could create a stylesheet that transforms 2.3 elements to 4.x ones, e.g. by converting <para0>, <subpara1>, etc., to <levelledPara>, <step1>, <step2>, etc., to <proceduralStep>, and so on. It means having to get familiar with the newer issues of the specification, but it's probably how I would approach this problem, at least initially, until the stylesheets can be adapted to support older issues on their own.