DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › Schemtron example that can be used with XMetaL 10
-
tmakita March 16, 2015 at 12:58 pm
Schemtron example that can be used with XMetaL 10
March 16, 2015 at 12:58 pmParticipants 0Replies 1Last Activity 7 years, 10 months agoHi,
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-schematronBut 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 branchDerek Read March 16, 2015 at 6:31 pm
Reply to: Schemtron example that can be used with XMetaL 10
March 16, 2015 at 6:31 pmTry this example:
[code]
dita schematron
Root element is not task
Root element is task
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. -
AuthorPosts
- You must be logged in to reply to this topic.