This question about Topic Markup Language and applications: Answered

How to create a list from a table column without headers and/or footers?

%SEARCH{ "^\|\s*.+?\|" topic="%TOPIC%" type="regex" multiple="on" nonoise="on" format="$pattern(^\| *(.*?) *\|.*)" separator=", " }%

generates Category, ChoiceA, ChoiceB, ChoiceC, ChoiceD, ChoiceE

given

Category Description
ChoiceA a
ChoiceB b
ChoiceC c
ChoiceD d
ChoiceE e

how can i exclude the *Header* entry?

-- WillNorris - 04 Mar 2010

I would probably be looking at FilterPlugin for this, as it has a skip parameter.

Also try:

%SEARCH{ "^\|\s*[^*]+?\|" topic="%TOPIC%" type="regex" multiple="on" nonoise="on" format="$pattern(^\| *(.*?) *\|.*)" separator=", " }%

ChoiceA, ChoiceB, ChoiceC, ChoiceD, ChoiceE

-- PaulHarvey - 04 Mar 2010

Another choice would be RenderTableDataPlugin.

-- ArthurClemens - 04 Mar 2010

QuestionForm edit

Subject Topic Markup Language and applications
Extension
Version Foswiki 1.0.9
Status Answered
Topic revision: r3 - 04 Mar 2010, ArthurClemens - This page was cached on 15 Jan 2018 - 09:01.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License