All, Thanks for your replies on this. Further digging revealed a bug with jTidy version jtidy-04aug2000r7-dev. jTidy was mangling the attributes. I swithched back to jtidy-04aug2000r6 and everything is good.
The "identity" and copy stuff work fine in Xalan. Sorry for the fire drill... -Chris. --- Peter Davis <[EMAIL PROTECTED]> wrote: > On Monday 11 February 2002 19:26, Raber Chris wrote: > > Peter, > > > > Thanks for the suggestions. Unfortunately I get > the > > same results with the code you suggested as I was > > getting before. A little more background: > > > > [snip] > > > > - What is happing is that the code to copy > elements > > and their attributes is picking up one attribute > of > > the source element, and then mysteriously adding > some > > others! For example, when copying a form element, > it > > copies the action attribute but not the name or > other > > attributes and it adds attributes that were not in > the > > source document at all! > > > > Could this have something to do with having the > output > > method be html? > > It could... what would really help is if you could > post a sample of the input > and output (I realize your intellectual property is > important, so you can cut > out the irrelevant parts or send it to me > privately). > > -- > Peter Davis > Ain't no right way to do a wrong thing. > -- The Mad Dogtender __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com
