Hi Audrey,
I know we had talked about reusing my XQuery implementation to finding all the unreachable elements in a DTD, based on a given set of possible roots, but it didn’t seem like a good fit to me, so I implemented it in Java, as described here: https://github.com/NCBITools/DtdAnalyzer/issues/2.
I reassigned this to you, so you can modify your documentor XSLT to drop all the elements that have reachable=”false”. You might also want to make use of the root=”true” to call attention to this in the documentation page for the root elements, putting it in somewhere on the page.
The code is merged back into the master branch, so you should be able to do “git pull origin master” to get it. Let me know if you get any kind of merge conflicts.
I also updated output format to match what we talked about before – no more <modules>.
Chris Maloney
NIH/NLM/NCBI (Contractor)
Building 45, 5AN.24D-22
--To view this discussion on the web visit https://groups.google.com/d/msg/dtdanalyzer/-/gF0kRa3Lp9gJ.
You received this message because you are subscribed to the Google Groups "DtdAnalyzer" group.
To post to this group, send email to dtdan...@googlegroups.com.
To unsubscribe from this group, send email to dtdanalyzer...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dtdanalyzer?hl=en.
Yes, that’s my take on entities, too.
Attributes are a different matter, though. An attribute is unreachable if it has no attributeDeclaration children pointing to a reachable element. I guess we should include the @reachable attribute on those, as well as elements?
That’s right – the Markdown processing is not implemented yet. You were going from my mockup before, this hasn’t ever worked yet in the real app. I’ll try to get to it this weekend.
One more thing – could you make sure you commit and push your documentor XSLT before you go today? I’d like to be able to play with it this weekend.
From: Hamelers, Audrey (NIH/NLM/NCBI) [C]
Sent: Friday, September 28, 2012 3:06 PM
To: dtdan...@googlegroups.com
Cc: Maloney, Christopher (NIH/NLM/NCBI) [C]
Subject: Re: Excluding unreachable elements, issue #2
Aha, that explains it.
--
You received this message because you are subscribed to the Google Groups "DtdAnalyzer" group.
To post to this group, send email to dtdan...@googlegroups.com.
To unsubscribe from this group, send email to dtdanalyzer...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dtdanalyzer?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/dtdanalyzer/-/ui4S4o6BF1gJ.
To post to this group, send email to dtdan...@googlegroups.com.
To unsubscribe from this group, send email to dtdanalyzer...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dtdanalyzer?hl=en.