On Sat, Nov 7, 2009 at 4:45 AM, Ramesh, Marimuthu <m.ram...@spi-bpo.com> wrote:
> I have some 3000 sgml files, where I need to change the tag case from
> upper case to lower case.
>
> Example: Change <ART ID="IMG1">This is an image</IMG> to <art
> id="IMG1">This is an image</IMG>.
>
> Note that the tag name and the attribute name should only change and not
> the values.

I'm not familiar with SGML[1], but that doesn't look like a tag pair.
The start tag is <ART> and the closing is </IMG>.  Should they not
both be the same?  If they should, then maybe the issue is with the
data format rather than with whatever perl code you are trying to
write.

[1] http://en.wikipedia.org/wiki/Standard_Generalized_Markup_Language

Regards,
- Robert

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to