Skip to content

Rhaptos Software Development

Personal tools
You are here: Home » Developer Blog » Elizabeth's Blog » Documentation in RelaxNG

Documentation in RelaxNG Documentation in RelaxNG

Document Actions
Submitted by . on 2005-09-07 11:08. Documentation
As a part of the CNXML 0.6 spec effort, I have been researching how documentation can live in the actual schema. It's easy, I promise!

In doing my part to help out with the CNXML 0.6 spec, I have been digging in to RelaxNG. Specifically, I've been reading Eric Van der Vlist's RelaxNG to get a good grip on what you can do with RelaxNG. Chapter 13 in particular proved to be the most helpful in my particular endeavor. I looked up some other sources of information, but really that chapter pretty much covered it.

Honestly, inserting documentation is simple: just add the namespace in question, then use the documentation tag within each define tag, generally as the first element. You can also document references within the define tag, but in the meeting yesterday, Chuck seemed to think this unnecessary. We don't want to documentation everything 15 times!

As a follow-up to this research, I'm going to explore how to pull this documentation from the schema into the actual spec. My handle on XSLT is still a bit shaky, and since XSLT is a big part of my current tasks, working from the ground up will hopefully prove educational and improve my confidence.

Developer Blog
« November 2008 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
2008-11-10
13:39-13:39 Suggestion for live site slowness reports
Categories:
Content (55)
Copyright (0)
Deep Code (3)
Development (203)
Markup (22)
Metadata (1)
Printing (7)
Style (9)
Testing (2)
Usability (6)