Posted by rlubke
on January 12, 2009 at 2:56 PM PST
I have some code that uses XSLT under the covers to transform EE deployment descriptors from DTD based documents to their Schema-based counterparts.
This works 99% of the time until I hit an issue where we need to build a URL relative to the location of the source document. Before the transform, we have a valid Document URI, but after the transform that information is lost.
I'm wondering if there is a directive I can embed within the stylesheet itself to cause this information to be propagated to the transform result?
My current workaround is to manually copy the URI from the source to the result. Is there a better way?