Re: [Htmlparser-user] Any way to modify the image tag location?
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2002-04-23 16:17:13
|
Hi Annette, You cant modify the tag contents. But from your application = description, I dont see why you should require it. You can modify the = image location on the fly as you are writing the html version of the tag = to disk (unless you intend to create a data stucture of tag objects(??) = - in which case you should add a setter method to HTMLImageTag). Bytway = you might also find HTMLTag.getTagLine() very useful, for putting in = lines as they appear, if they are not the tag that you are interested in = parsing.=20 Regards, Somik ----- Original Message -----=20 From: Doyle, Annette=20 To: htm...@li...=20 Sent: Wednesday, April 24, 2002 12:38 AM Subject: [Htmlparser-user] Any way to modify the image tag location? Is there any way to modify the image tag locations? I want to find the = image tags in a document and then modify the location to a local = location. I will download the images from the original location and = save locally. I also want to then write out the resulting html to a file = locally. The resulting document I write out will have the new local = location for the images. =20 =20 Thanks- Annette |