: > a bit -- this sort of inheritance gets ugly in XSL.  Assuming there
: > are the appropriate public methods, it might be better to work
: > directly against the live IndexSchema rather than by XSLT transforming
: > the schema.xml file. The drawback, of course, is that you cannot swap

: What about creating an xml report (using a the live index searcher)
: and transforming that with XSLT to add look&feel?

yeah ... i think you've really got something totally usable as is right
now, os don't feel like you have to start over.  when i first typed up
that "MakeSolrMoreSelfService" and the "Schema Explorer" section, it never
occured to me how much of that can be done using XSLT.  What i was
debating in my head recently was for the things that *can't* be done over
XSLT, or are hard to do with XSLT, maybe a servlet can generated an XML
doc which reuses much of hte smae syntax, but has extra "denormalized"
tags in it for easier XSLT procesing (ie: imaging a doc where the top
level tag is "<generated-schema>" instead of schema, and all of the
default values are explicitly filled in for every <fieldtype> and all of
the inherited values are filled in for every <field> and <dynamicField>)

then you can have a XSLT which could be used to style the
schema.xml directly -- or it could be used to style the "generated-schema"

...either way: what you've got right now gets us really really far.


-Hoss

Reply via email to