Re: [dita-lightweight-dita] template approach for specialization

From
Mark Giffin <>
Date
2016-08-24T22:51:20+00:00
ID
Thread
Re: [dita-lightweight-dita] template approach for specialization
Hi Birgit,

      

      Right now there is no tool that will generate the DTD/schema from
      a specialization template. There are a couple of us working on
      this right now, though, and it is a high priority. Other people
      need it also.

      

      I think the only way to do it right now is to sort of "follow the
      logic" and manually create your schema. Sorry for the confusion.

      

      Mark Giffin

      Mark Giffin Consulting, Inc.

      http://markgiffin.com/

      

      On 8/24/2016 4:49 AM, Birgit Strackenbrock wrote:

    

    
      
      
      
      
      

        
Hi Michael,

        
At the last LW call Jan
            has presented the LW marketing specialization we are working
            on. One comment/question was:

        
- We might not have used
            the correct specialization mechanism. LW DITA supports the
            template-based specialization, we did it the “old way”. 

        
And for sure, we didn’t
            used the template approach.

        
Now, I have read again
            all mails about the template approach and I thing I
            understand it more or less. I could make a template like the
            one in http://markmail.org/message/pd4u5kfg44xp5x5c
            but I am wondering how I can get/generate the DTD or better
            XSD from this. Do I need a special tool and/or scripts?

        
And yes, I do wonder if
            the template approach really is much easier than the “old
            way” as used in standard DITA. Maybe an advantage is that
            the specialization will not become more complex than the
            basic topic and elements.

        
Kind regards, Birgit

        
 

        
 

        

        
<www.xstructuring.eu>

        
<>