10-18-2008, 01:53 PM
Sorry I should have been more specific.
Yes, I failed to mention what language this was in. Truth be told, I'm in over my head anyway
. I did know what sed was though (I have a buddy who's a Unix guru).
As it turns out, I may not be able to do this anyway. I was trying to use regex inside an xslt file. I'm trying to transform an xml file into an fdf file for a pdf form. I want the fdf field name to take on the name attribute of the xml field element, but I don't want to include the table portion of said name. This is all new to me, but I feel I'm very close to a solution - in fact, I have it working if I hard code the field names, but I don't feel that's very wise (in case the xml is formed different than expected).
Yes, I failed to mention what language this was in. Truth be told, I'm in over my head anyway

As it turns out, I may not be able to do this anyway. I was trying to use regex inside an xslt file. I'm trying to transform an xml file into an fdf file for a pdf form. I want the fdf field name to take on the name attribute of the xml field element, but I don't want to include the table portion of said name. This is all new to me, but I feel I'm very close to a solution - in fact, I have it working if I hard code the field names, but I don't feel that's very wise (in case the xml is formed different than expected).