Hi Greg,
Thanks for quick response,
I am working with a large xml document with a given xsl file, this allows
the document to be nicely viewed in word.
I have a web service that returns theses kind of documents, and rather than
relying on infopath's view , I want to attach it to the given xsl file for
viewing.
the .xsl file starts like this:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="
http://www.w3.org/1999/XSL/Transform" xmlns:n1="urn:hl7-org:v3"
xmlns:n2="urn:hl7-org:v3/meta/voc" xmlns:voc="urn:hl7-org:v3/voc"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<xsl
![Eek! :eek: :eek:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
utput method="html" indent="yes" version="4.01" encoding="ISO-8859-1"
doctype-public="-//W3C//DTD HTML 4.01//EN"/>
<!-- CDA document -->
<xsl:variable name="tableWidth">50%</xsl:variable>
<xsl:variable name="title">
<xsl:choose>
<xsl:when test="/n1:ClinicalDocument/n1:title">
<xsl:value-of select="/n1:ClinicalDocument/n1:title"/>
</xsl:when>
<xsl
![Eek! :eek: :eek:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
therwise>Clinical Document</xsl
![Eek! :eek: :eek:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
therwise>
</xsl:choose>
</xsl:variable>
<xsl:template match="/">
<xsl:apply-templates select="n1:ClinicalDocument"/>
</xsl:template>
.....
.....
....
I have provided the link :
<link href="myfile.xsl" rel="stylesheet" type="text/xsl"/>
as suggested below the last <style> element in the view.xsl .
and added the file as the resource.
I get no errors, but the view is unchanged.