On Tue, 31 Jul 2001, Ron Woodall wrote:
> Here's the problem. Go to the Compendium of HTML Elements,
> www.htmlcompendium.org --> Main Menu --> HTML --> Attribute Pages and click
> on one of the tag names.
>
> The right frame will open up into a list of the tag and all
> attributes/arguments documented to work with that tag. I'm in the process
> of completely restructuring the site and using a perl script. This is, in
> part a learning exercise for me.
>
> Here's the problem. One tag will have 166 attributes plus
> additional arguments for each attribute. The next tag will potentially have
> none. No two tags share all of the same attributes. I need to create a
> series of scalars for each attribute such that each variable can be
> directly addressed and decisions drawn from them and the new structure
> constructed.
But trying to maintain 166 separate variables is going to be unwieldy,
especially if you are trying to maintain complex relationships -- you will
spend more time trying to code the logic keeping track of these things.
You will need to build up your data structures dynamically, I would think,
and perhaps even has some kind of persistant storage so you can recall
them again, if necessary.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
What does it mean if there is no fortune for you?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]