in reply to Re: Need help with subdividing SGML files
in thread Need help with subdividing SGML files

As near as I can tell the first array is never populated. There's probably a considerable number of other fudge-ups.
  • Comment on Re: Re: Need help with subdividing SGML files

Replies are listed 'Best First'.
Re: Re: Re: Need help with subdividing SGML files
by BrowserUk (Patriarch) on Mar 07, 2003 at 23:30 UTC

    Sorry, but "the first array" means nothing. Is that the first array mention in the program reading from top to bottom? The first array that is used in the runtime order?

    The work involved for anyone who doesn't have a set of sgml files with the particular set of <div> tags that your program is looking, to try and divine the format of those files and mock up data to allow them to try and run your program is considerable.

    I think that you should consider putting as much effort into describing the problem as you did into your flowery request for help, you then might give us enough information uppon which to begin to advise you.

    Try adding a few print tstatements to your program and work out what it is/is not doing. Come back with a clear descripton of the problem and you might get some more help.


    Examine what is said, not who speaks.
    1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
    2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
    3) Any sufficiently advanced technology is indistinguishable from magic.
    Arthur C. Clarke.
      You are naturally correct about the hopeless obscurity of the post you are immediately responding to. I apologize for that. I'm not going to give out the details of the SGML format I'm working with since it is only used by my company and are major partner/competitor. This other company is run by a bunch of ruthless, viscious bastards who want us dead. It would not be above them to take my incompetence as demonstrated on this board and use it to convince our other clients not to work with us. That being said, the <div tags at issue are one line section identifiers that contain ONLY a type attribute which I don't care about, and an id attribute which I'm trying to capture. I'm also slightly insulted that you think I put any effort into the initial post. I spent more time cutting and pasting the code into the window than I did drafting it.