Re: [jats-list] JATS tag for "search-text"

Subject: Re: [jats-list] JATS tag for "search-text"
From: Debbie Lapeyre <dalapeyre@xxxxxxxxxxxxxxxx>
Date: Tue, 29 Apr 2014 11:13:09 -0400
On Apr 29, 2014, at 8:59 AM, Wei Zhao <w.zhao@xxxxxxxxxxx> wrote:

> There is a tag <search-text> in a journal article data which is unstructured
text provided for search functionality but not intended for print or display.
Typically this text replicates the contents of a non-searchable graphic. It's
under figure or table wrap. Any body had experience to tag this in JATS?Well,

JATS does not have a <search-text> element, of course.
There are a few possibles, see below. (I want everybody to read your
example first)

On Apr 29, 2014, at 8:59 AM, Wei Zhao <w.zhao@xxxxxxxxxxx> wrote:

> Here is the example,
>
> <table-wrap id="tbl1">
> <label>1</label>
> <caption>
> <title>Demographic Characteristics by Community</title></caption>
> <graphic copyright="inherit" id="tbl1a" xlink:href="ort_83_4_528_tbl1a.tif"
xlink:type="simple"/>
> <search-text>
> n (%)/Mean (SD)
> Characteristic
> Sderot
> Otef Aza
> &#967;2/t (df)
> *p &#8804; .05. **p &#8804; .01. ***p &#8804; .001.
> Age
> 47.35 (16.58)
> 53.62 (15.81)
> 3.84 (442)***
> Gender
> Men
> 135 (45.3)
> 75 (49.3)
> 0.66
> Women
> 163 (54.7)
> 77 (50.7)
> </search-text>
> <table-wrap>
>


The first thing that comes to mind is to use <alternatives>
inside <table-wrap>. One alternative would be the <graphic>,
the second alternative would be <textual-form>.

This is one of the documented uses of <textual-form>.
To quote from the Tag Library;

Usage Search Text: The <textual-form> element can also be used to supply the
text of an object for searching. In such a usage, it is not intended that the
<textual-form> be displayed to the user, only that it provide a textual view
of the object to a search system. This technique can allow unsearchable binary
formats, such as graphics and untagged tables represented as graphics, to be
represented in a form that can be searched or indexed.

So the example would look like this:

> <table-wrap id="tbl1">
> <label>1</label>
> <caption>
> <title>Demographic Characteristics by Community</title></caption>
<alternatives>
> <graphic copyright="inherit" id="tbl1a" xlink:href="ort_83_4_528_tbl1a.tif"
xlink:type="simple"/>
<textual-form>
> n (%)/Mean (SD)
> Characteristic
> Sderot
> Otef Aza
> &#967;2/t (df)
> *p &#8804; .05. **p &#8804; .01. ***p &#8804; .001.
> Age
> 47.35 (16.58)
> 53.62 (15.81)
> 3.84 (442)***
> Gender
> Men
> 135 (45.3)
> 75 (49.3)
> 0.66
> Women
> 163 (54.7)
> 77 (50.7)
</textual-form>
<alternatives>
> <table-wrap>



Hope this helps.

--Debbie

================================================================
Deborah A Lapeyre              mailto:dalapeyre@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      http://www.mulberrytech.com
17 West Jefferson Street         Phone: 301-315-9631 (USA)
Suite 207                        Fax:   301-315-8385
Rockville, MD 20850
----------------------------------------------------------------
Mulberry Technologies: Consultancy for XML, XSLT, and Schematron
================================================================

Current Thread