- From: Loren Cahlander <loren.cahlander@gmail.com>
- Date: Wed, 21 Nov 2012 09:45:13 -0600
- To: xmlschema-dev@w3.org
Received on Wednesday, 21 November 2012 15:45:45 UTC
I am looking to transform comments that precede an element and make those comments as an annotation for that element. for example: <!-- Information about foo --> <xs:element name="foo-group"> . . . </xs:element> to <xs:element name="foo-group"> <xs:annotation> <xs:documentation>Information about foo</xs:documentation> </xs:annotation> </xs:element> I have a bunch of schemas that I need to transform. Another issue is: Does anyone have a way of formatting the annotations? Through oXygen, I found that I could add schematron elements within the documentation. The only one that I found useful was <p xmlns="http://purl.oclc.org/dsdl/schematron"></p> Has anyone used better formatting of annotations? Thank you, Loren
Received on Wednesday, 21 November 2012 15:45:45 UTC