PerseusDL / tei-conversion-tools

Tools for TEI Conversions
GNU General Public License v3.0
6 stars 7 forks source link

generic_div.xsl transformation #43

Closed lcerrato closed 8 years ago

lcerrato commented 8 years ago

I have applied entities.xslt and then tried generic_div.xsl

This deleted the text body.

TDBuck commented 8 years ago

I also just tried generic_div.xsl and had it eat the text body.

balmas commented 8 years ago

Hi guys sorry I apparently broke it in my hurried attempts to make it better -- I just pushed a fix to it -- hopefully it's working better now.

lcerrato commented 8 years ago

Thanks! I'll close this when we have a chance to test it.

lcerrato commented 8 years ago

Have the new version and it doesn't make any changes to the file I'm working on. Is this supposed to take care of the cRefPattern?

balmas commented 8 years ago

have you already added the tei namespace to your file? this xslt was setup to run before the namespace is added

lcerrato commented 8 years ago

No, I don't think I had. Only converted entities. But I will check that next file and update this thread with more useful and complete info.

lcerrato commented 8 years ago

Update: my file apparently was partially edited already. I tried to run this on a cleaner file and got different results, so I think it's definitely fixed.