W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2002

PB

From: Gregory Anne <gregory.anne@wokup.com>
Date: Fri, 6 Sep 2002 05:00:50 -0400 (EDT)
Message-Id: <200209060830.KAA03132@mailhost.wokup.com>
To: <html-tidy@w3.org>
I have to parse a pseudo html code that contain for exemple :

<table>
  <wok-list name="List" size="5" class="wchat.Message">
  <tr>
    <th>color</th>
    <th>date</th>
  </tr>
    ...


and i just want tidy close the unclosed tags but it change the order or drop
some of my new tag

<wok-list name="List" size="5" class="wchat.Message">
    <table>
      <tr>
        <th>color</th>
        <th>date</th>
      </tr>
    ...

<select name="UnnamedSelect" size="5">
    <wok-list name="UnnamedList" class="cookieservice.Cookie">
    <option selected><wok-member>host</wok-member></option>
    </wok-list>
  </select>

transforme to

<select name="UnnamedSelect" size="5">
    <option selected>
    </option>
</select>

i use the external cfg file

//Tidy configuration file

// pas de tag "genere par tidy"
tidy-mark: no

quiet: yes

show-warnings: yes

markup: yes
// indentation
tab-size: 2
indent: yes
indent-spaces: 2

// Vire le doctype
doctype:omit
//Add wok tag
new-inline-tags: wok-text, wok-member
new-blocklevel-tags: wok-list, wok-member


Could you help me ???
Received on Tuesday, 10 September 2002 15:13:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:52 GMT