[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Transform with Multiple Files
Those two just dont match: Am 03.12.2009 um 14:37 schrieb Ramkumar: <xsl:value-of select="document('comments.xml')/w:comments/w:comment[w:id=$commentID]/w:p"/> and [heavily abbreviated] <w:comment w:id="1"> <w:p> <w:pPr> <w:pStyle /> </w:pPr> <w:r> <w:rPr> <w:rStyle/> </w:rPr> <w:annotationRef/> </w:r> <w:r> <w:t>This is my comment</w:t> </w:r> </w:p> </w:comment> There is no <w:comments> in the XML, and the w:comment does not have a child::w:id (but an @w:id). Also, as Michael Kay suggested, there may be namespace problems involved. If not, something like this might help: <xsl:value-of select="document('comments.xml')/w:comment[@w:id=$commentID]//w:t"/> - Michael M|ller-Hillebrand -- _______________________________________________________________ Michael M|ller-Hillebrand: Dokumentations-Technologie Adobe Certified Expert, FrameMaker Lvsungen und Training, FrameScript, XML/XSL, Unicode Blog: http://cap-studio.de/ - Tel. +49 (9131) 28747
|
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
|