[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: From Sweta External unparsed Entities doubt!!!
Hi Sweta, Questions about XSLT are best asked on XSL-List (http://www.mulberrytech.com/xsl/xsl-list). > I am sending the XML file using the external unparsed entities and i > am sending the xsl.also the gif file which i am using to as external > data. First you need to start using XSLT rather than the Microsoft-specific XSL dialect. You can find out about the differences and how to make the change at the MSXML FAQ at http://www.netcrucible.com/xslt/msxml-faq.htm. Then you need to use the little-known unparsed-entity-uri() function, which retrieves the URI of an unparsed entity when you pass its name in as an argument. Try: <xsl:template match="/"> <html> <body> <img name="Iamimg" src="{unparsed-entity-uri(img1/@src)}" /> </body> </html> </xsl:template> Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
|
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
|