DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Schemtron example that can be used with XMetaL 10

  • tmakita

    Schemtron example that can be used with XMetaL 10

    Participants 0
    Replies 1
    Last Activity 7 years, 6 months ago

    Hi,

    I want evaluate the XMetaL 10 function for schematron validation.
    Are there any examples that can be used with XMetaL?
    I found no .sch extension files in XMetaL install folder.

    There is open source schematron file for DITA.

    jelovirt/dita-schematron
    https://github.com/jelovirt/dita-schematron

    But I cannot get any effective result when I invoke “Tools” – “Validate using Schematron” and specify this .sch file from dialog.

    Please give me any suggestion.

    Toshihiko Makita
    Antenna House, Ina branch

    Reply

    Derek Read

    Reply to: Schemtron example that can be used with XMetaL 10

    Try this example:

    [code]
        dita schematron
                 
                  Root element is not task
                  Root element is task
             

       
    [/code]

    If you run it against an XML file (DITA or any other document type) that does not have as the root element then the text from the assert should display. If it does have as the root element then the text from the report should display.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support