[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Transform with Multiple Files
Hi Martin Honnen, Part of my XSLT Code: <xsl:when test="w:commentReference/@w:id"> <xsl:variable name="commentID"><xsl:value-of select="w:commentReference/@w:id"/></xsl:variable> <span class="{$commentID}"><xsl:value-of select="document('comments.xml')/w:comments/w:comment[w:id=$commentID]/w:p"/ ></span> </xsl:when> Comment.xml placed on xslt path. It contains. <w:comment w:id="1" w:author="Ramkumar" w:date="2009-12-02T18:10:00Z" w:initials="V"><w:p w:rsidR="00196A26" w:rsidRDefault="00196A26"><w:pPr><w:pStyle w:val="CommentText"/></w:pPr><w:r><w:rPr><w:rStyle w:val="CommentReference"/></w:rPr><w:annotationRef/></w:r><w:r><w:t>This is my comment</w:t></w:r></w:p></w:comment> Part of Output by the above code: <span class="1"> </span> Expected: <span class="1"> This is my comment </span> Note: I am transforming from Word ML to HTML transformation. Regards, Ramkumar.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|