Re: FacetMap: Question About Using XML Data
"takashi37" <[email protected]> Mon, 04 Oct 2004 20:17:31 -0000
| Newsgroups | gmane.comp.infodesign.facetedclassification |
|---|---|
| Message-ID | <[email protected]> |
Hello again -
Sorry to clutter your inboxes but I have successfully solved this
problem based on Travis' response below.
You can see the results here...
http://robotwent.com/posters/browse.asp?FacetMapRef=01002a0000000000
For those interested, it only took a few additional lines in my xsl..
This line sets up an index of headlings...
<xsl:key name="HeadingTitle" match="selection/heading" use="@facet"/>
And this grabs the title of a particular superset when in an "s"
node...
<xsl:value-of select="key
('HeadingTitle',parent::superset/@taxtitle)/@title"/>
Again, if anyone is interested in the complete XSL documents
for "narrow it down" and "results list" using FacetMap I'd be happy
to send them your way.
Thanks Travis for you help and the great tool!
Todd
--- In [email protected], Travis Wilson
<trav@f...> wrote:
> True -- you've generated "Browse by Date > 1990s > " but are unable
to
> quite finish the breadcrumb trail because the current
heading, "1997",
> appears to be missing from the XML.
>
> Actually, "1997" is available, it's just in a different
place. "Browse by
> Date" and "1990s" are in the <superset> tag because they represent
other
> pages you can browse to. "1997" is a description of where you are
right
> now, so it's a bit further up in the XML, in a <heading> tag. In
essence,
> the info you need is in:
>
> <heading facet="Browse by Date" title="1997" />
> ...
> <superset taxtitle="Browse by Date">
> <s ref="0100000000000000" title="Browse by Date" />
> <s ref="0100220000000000" title="1990s" />
> </superset>
>
> Check them out in context of the full XML data at:
> <http://facetmap.com/demo/browse.jsp?
map=robotwentmap5&v=3&s=01002a0000000000>
>
> -t
>
> Travis Wilson
> Development
> http://facetmap.com
>
>
> At 06:15 AM 9/24/2004, Todd wrote:
> >Hello all -
> >
> >First time long time.
> >
> >I'm curious if anyone has experience using the FacetMap XML Data?
> >
> >I have a facetmap here...
> ><URL: http://facetmap.com/demo/browse.jsp?map=robotwentmap5 >
> >
> >And, I'm using XML over HTTP to present a faceted poster gallery
here...
> ><URL: http://robotwent.com/posters >
> >
> >The problem I'm having is that I can't seem to access the "lowest"
(i.e.
> >last) selected "heading" using the XML data. As you'll see, in
the "Your
> >Selections" area on my site, I've been using the placeholder "Some
> >Selection" for this value.
> >
> >Here's an example of all Phish posters from 1997...
> >
> ><URL ON TRAVIS' SITE: http://tinyurl.com/3ocgl >
> >
> ><URL ON MY SITE: http://tinyurl.com/6b2vq >
> >
> >Any help is appreciated! Any feedback on the classification also
> >appreciated.
>
>
> [Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/0bmwlB/TM
--------------------------------------------------------------------~->
----------
Thanks for playing.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/facetedclassification/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/