> It may be a namespace issue, you have to declare your testns namespace > in the stylesheet. You probably have done that, but I cannot get other > ideas from your small extract. In general, for you and others, you may > find it convenient to test your stylesheets in a simpler setting than > GSearch, e.g. xsltproc from linux command line, or the saxon service > that comes with fedora.
well, after some looking around i found a few texts dealing with the same issue and recommending <xsl:value-of select="foxml:datastre...@id='RELS-EXT']/child::*[last()]/foxml:xmlContent/rdf:RDF/rdf:Description/child::*[namespace-uri()='http://www.foo.bar/testns#'][local-name()='isInState']" /> but basically, the addRelationship() method of fedora should handle the namespace more intelligent by inserting the declaration into the rdf:RDF element like the others.. as for the simpler setting -- i did it of course, but eventually it has to work in gsearch. btw: is there a chance, that gsearch reads the xsl dynamically, ie without rebooting? i tested the xpath expression, it worked but not with the *toLucene.xslt -- thus i had to reboot several times. it would be nice, if gsearch would read my changes w/o reboot. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
