Since the table is part of a larger block of content, I can't
"guarantee" that the id would never be removed.

With a little tweaking, Damien's idea did work for me.  But, now its a
question of whether a user will much things up or not.  In general, no I
would not expect them to be altering the html.  But with end users...  ;-)

If anyone has any other ideas, I wouldn't mind hearing them.  In the
mean time, I will ping the "powers that be" to see if they'd be
satisfied with this solution.  Thanks for all your suggestions and any
more to come.

--Jeff

Tony Weeg wrote:

> <table id = "thisTable" ...>
>
> </table>
>
> can you guarantee the id="" will stay there, if you set it up that way in
> the first place?
>
> tw
>
> -----Original Message-----
> From: Jeff Langevin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 26, 2004 11:42 AM
> To: CF-Talk
> Subject: Re: cfhttp and stripping out text
>
> I am pulling from CFMX 6.1 to CF5.
>
> I could put comments before and after the table to delineate it.
> However, I could not guarantee that a user in the CMS would never remove
> or alter them.
>
> At this point, there are no nested tables in the table, but again, I
> can't that won't change in the future.
>
> --Jeff
>
> Pascal Peters wrote:
>
>  > What version of cf? Can you identify the table in a unique way (does it
>  > contain something that doesn't change and is unique)? Are there other
>  > tables nested in the table?
>  >
>  > Pascal
>  >
>  >  > -----Original Message-----
>  >  > From: Jeff Langevin [mailto:[EMAIL PROTECTED]
>  >  > Sent: woensdag 26 mei 2004 17:27
>  >  > To: CF-Talk
>  >  > Subject: cfhttp and stripping out text
>  >  >
>  >  > I am using cfhttp to pull a page from one of our servers to another.
>  >  > The page that I am pulling contains a table.  What I would
>  >  > like to do is strip everything out of the file except for the
>  >  > table.  The problem is that the page is coming from a content
>  >  > management system.  So I can't be sure that the surrounding
>  >  > html will always be the same.
>  >  >
>  >  > How would I even begin (and can it even be done) to strip out
>  >  > the HTML that I don't want?
>  >  >
>  >  > --Jeff
>  >  >
>  >  >
>  >  >
>  >  >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to