Hi Looking at the .xsl file, I don't think the node id attribute is used in any way.
The checkbox name is generated: ... <xsl:variable name="checkBoxName">cb_<xsl:value-of select="generate-id ()"/> ... as is confirmed by looking at the HTML source of the rendered page ... <li> <img class="dummyclass" src="/dspace/image/controlledvocabulary/ f.gif" alt="search term"/> <input value="Mechanical engineering" name="cb_N10151" type="checkbox" class="controlledvocabulary"/>Mechanical engineering</ li> ... The node Id that I entered in the controlled vocabulary file for this entry was 'A.6.11' - and that is never seen anywhere anymore. So it is still completely obscure what the node id attribute is actually used for ... cheers Maike On 9-May-07, at 1:33 AM, Andres Quast wrote: > Hi Mike, > > the node-Tag is used to render the controlled vocabulary tree by a > XSLT- > stylesheet. It has two attributes (id, label) used to render the > tree in a > correct way. So I wonder if you have changed the stylesheet > (vocabulary2html.xsl) in an appropriate way. The attribute id is > used within > the stylesheet to name each checkbox of the controlled vocabulary > tree. The > attribute label contains the search term, which is used for the > subject > search. > > hope this helps, > Andres > > > >> Hi >> >> (DSpace version 1.4.1) >> >> I have a question about the 'node id' in the controlled >> vocabulary .xml file. >> We created our own sciences index file to confine the set of keywords >> that can be entered in the submission form. When creating that .xml >> file I was looking at the supplied Scandinavian examples - and from >> that (because in these two examples they are so different !), >> concluded that the 'node id' was not actually *doing* something: it >> looks merely as some sort of enumeration and I assumed I was free to >> use whatever code we use at our institute i.e. use it as a mnemonic. >> >> But I discovered that these controlled vocabularies are also used in >> the Subject Search. Unfortunately, it does not seem to work there: >> when I do an advanced search on a subject and get a certain result, >> clicking the same (or indeed any) box in the Subject Search form does >> not retrieve any results. >> >> My gut feeling here is that this 'node id' is thus a bit more than >> just an enumeration. But I cannot find anywhere (documents, internet) >> what it *should* contain ... >> >> In the submission form (input-forms.xml), the controlled vocabulary >> is configured like this: >> >> <field> >> <dc-schema>dc</dc-schema> >> <dc-element>subject</dc-element> >> <dc-qualifier>lcsh</dc-qualifier> >> <repeatable>true</repeatable> >> <label>Subject Area</label> >> <input-type>onebox</input-type> >> <hint>Enter your subject area of the item below.</hint> >> <required></required> >> <vocabulary>uvsi</vocabulary> >> </field> >> >> Does anyone have a clue? >> >> TIA >> >> ---------- >> Maike Dulk >> Programmer / Analyst >> McPherson Library, University of Victoria >> [EMAIL PROTECTED] >> >> IBM: >> It may be slow, but it's hard to use. >> >> >> --------------------------------------------------------------------- >> ---- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > -- > Dr. Andres Quast > Virtuelle Fachbibliothek GEO-LEO > Staats- und Universitätsbibliothek Göttingen > Platz der Göttinger Sieben 1 > 37070 Göttingen > > email: [EMAIL PROTECTED] > tel: 0551-39 4255 > http://www.geo-leo.de > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech > ---------- Maike Dulk Programmer / Analyst McPherson Library, University of Victoria [EMAIL PROTECTED] IBM: It may be slow, but it's hard to use. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech