Afte hours of research on the web it appears that many browsers have a security feature that prevents a stylesheet from being resolved if it is not in the same directory or location as the xml/html file. I did see some comments that indicate the stylesheet could be in the same web server, but right now I don’t have a web server to play with.
This is a big impact in our Meaningful Use C12 objective for delivering a CCDA to an external provider or facility. We can certainly deliver the CCDA, so technically we meet the objective, but when a provider tries to open the xml file in whatever Direct email viewing tool they are using, the CCDA will fail to open, displaying a security error.
We are getting around this by including the stylesheet in the same email as the CCDA and putting verbiage in the email body asking the recipient to save both attachments to the same location and opening the CCDA from that location.
This is very cumbersome. Has anyone run into this or has anyone found an easier way to deliver the information, or get a stylesheet to resolve from a standard location?
Or is there a programmatic way to resolve the xml file with the stylesheet and save the resolved output to another format like a PDF?
Peter
Peter Heggie
PeterHeggie@crouse.org