OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/