[Home] [By Thread] [By Date] [Recent Entries]
Hi ,
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.
This is my BinaryEntities.xml file :
<?xml version="1.0" standalone="no" ?>
<?xml:stylesheet type="text/xsl" href="Binaryxsl.xsl"?>
<!DOCTYPE img1 [
<!ELEMENT img1 EMPTY>
<!ATTLIST img1 src ENTITY #REQUIRED>
<!NOTATION gif PUBLIC "gif viewer">
<!ENTITY logo SYSTEM "C:\YELLOW.GIF" NDATA gif>
]>
<img1 src="logo"/>
This is my Binaryxsl.xsl file
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns="http://www.w3.org/TR/REC-html40">
<xsl:template match="/">
<html>
<body>
<img name="Iamimg">
<xsl:attribute name="src">
<xsl:value-of select="@src"/>
</xsl:attribute>
</img>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
This is the gif file i am trying to import using the external unparsed
entities....
copy all this at C:\ drive and try the example...its not rendering the
image.
Can some body give the solution to my problem.....
|

Cart



