image - xml add photo with entity -
i want add together photos in xml entities, i'm don't know how phone call them in xsl file
this xml code:
<!doctype cookbook [ <!notation jpg scheme "image/jpeg"> <!entity pizza scheme "images/1.jpg" ndata jpg> ]> <cookbook> <recipe id="1" authorid="1" region="southwest"> <picture> <image href="pizza"/> </picture> </recipe> </cookbook>
and in xsl have following:
<images> <xsl:for-each select="picture/image"> <img src="href"/> </xsl:for-each> </images>
but doesn't work
try unparsed-entity-uri()
...
<img src="{unparsed-entity-uri(@href)}"/>
xml image xslt entity
No comments:
Post a Comment