rng analysis
Dave Pawson <[email protected]> Fri, 30 Apr 2004 18:46:14 +0100
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
Playing with a newish editor, http://www.xmldistilled.com/tools/editor/index.htm It needs an input file to control whether or not inserted elements are block level or inlines. I'm guessing this can be derived from the schema, and for about the third time I'm writing xslt to 'tree walk' the schema. I get the feeling I'm doing it wrong, too many options at any one point, and wondered who else has done this for whatever reason. Has anyone a stylesheet that walks the schema and can tell from any element the parent element name and produce a 'tree' in the correct order? Or perhaps even suggest an approach that would make sense for me to try further? regards DaveP