in reply to Different Web Shops Need Different Tools
in thread HTATR II: HTML table generation via DWIM tree rewriting

On my way to work this morning (a good 30 minute commute), i pondered your idea some more. I see what you are doing now and i think it's a pretty cool idea. I guess i had to bang out a reply before i could fully grasp what was going on. However, i wonder if you could utilize XML::Twig instead of rolling your own "rewiter"?

UPDATE:
Correction, you aren't rolling your own, you are using HTML::TreeBuilder instead. Sorry about that. :)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on Re: Different Web Shops Need Different Tools

Replies are listed 'Best First'.
Re: Re: Different Web Shops Need Different Tools
by princepawn (Parson) on Oct 30, 2003 at 17:57 UTC
    i wonder if you could utilize XML::Twig instead of rolling your own "rewiter"?
    Twig is another one of those things I stared at and played with for awhile. I never quite understood his approach to grokking XML.

    TreeBuilder does parsing of rogue HTML quite well and the TreeBuilder API has most everything that I want for /(?i:ht|x)ml/

    DBSchema::Sample