--- In xfml@yahoogroups.com, Lars Marius Garshol <larsga@g...> wrote:
> It turns out I was too quick here. A *page* can only occur once, but I
> don't see anything ruling out multiple <occurrence> children mapping
> it to multiple <topic>s in the same <facet>.
>
> BTW, Peter: Found a typo in first para of 3.8: "OccurrencestrengHT".
>
> So there shouldn't be any problem with this in XFML, judging by the
> spec.
>
>
I will have to try to model my "job situation" in XFML and try to
import in FacetMap. I would be great if I could use Travis Wilson's
FacetMap Java API as a backend to construct web pages navigation.
I tried to model the job offerings with two locations for one job, but
it doesn't work.
<facetmap title="FacetMap Najdisi Demo">
<taxonomy title="Region" root-heading-title="Slovenia" facetid="region">
<heading id="regionOne" title="Region One">
<heading id="townOne" title="Ljubljana"/>
<heading id="townTwo" title="Brezovica"/>
</heading>
<heading id="regionTwo" title="Region Two">
<heading id="townThree" title="Nova Gorica"/>
<heading id="townFour" title="Tolmin"/>
<heading id="townFive" title="Kanal"/>
</heading>
</taxonomy>
<taxonomy title="Work area" root-heading-title="All Areas"
facetid="workarea">
<heading id="workArea1" title="Administracija"/>
<heading id="workArea2" title="Akviziterstvo"/>
<heading id="workArea3" title="Ambulantna prodaja - razvoz"/>
</taxonomy>
<resources>
<resource title="Job Description One">
<map heading="townOne"/>
<map heading="townTwo"/> <=== THIS IS WHAT I WANT (two or more
references to the same taxonomy)
<map heading="workArea3"/>
</resource>
<resource title="Job Description Two">
<map heading="townFour"/>
<map heading="workArea2"/>
</resource>
</resources>
</facetmap>
Of course, maybe I made a mistake and there is another way in FacetMap
to describe that relation.
Is there by any chance any Java API for TopicMaps?
Regards,
Borut