Extension attributes

I'm using Tidy to convert some ActionPoint files to XML.  ActionPoint uses 
input files that are HTML, more or less, but with some additional 
attributes to note the linkage of XML schemas to certain input elements in 
the HTML.  I want to be able to manipulate these files with XSLT, so Tidy 
seemed a natural choice to convert them to XHTML.

However, while it's easy to add new elements to Tidy's awareness, there 
doesn't seem to be a way to tell it to leave _AP* attributes alone.  I've 
checked the list archives and the doc, and haven't come across anything 
that looks likely.  Does anyone know a way to do this?  Or has anyone 
already patched Tidy to do it?  If not, any code pointers would be 
helpful.  (I could do this with Perl and HTML::Parser, but so much of that 
would be reinventing the wheel...)

Thanks in advance,
Chris

P.S. I read this list through the Web archive interface, so a courtesy copy 
would be appreciated, but isn't necessary.
-- 
Christopher R. Maden, XML Consultant
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA

Received on Monday, 16 April 2001 20:13:41 UTC