I have some code as below, but attribute 'src' not replace,
<?xml version="1.0" encoding="UTF-8"?>
<rules
xmlns="http://namespaces.plone.org/diazo"
xmlns:css="http://namespaces.plone.org/diazo/css"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<rules css:if-content="#visual-portal-wrapper">
<theme href="index.html" />
<replace css:content="a#portal-logo img" css:theme="h1.logo a img" attributes="src"/>
</rules>
</rules>
Why? is a bug? or I make a mistake? Have any suggestions ?
Try using copy instead of replace. As Diazo docs say in replace section...