DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36984>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36984

           Summary: [PATCH] Permit the choice of attributes to augment in
                    AugmentTransformer
           Product: Cocoon 2
           Version: 2.1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: [EMAIL PROTECTED]


Here is a patch againt 2.1.7 version augment transformer which add a
"attributes" parameter which permit to choose the attributes to be augmented.
Defaults to href if the parameter is not set:
<map:transform type="augment">
  <map:parameter name="attributes" value="href src"/>
</map:transform>

Useful, for example, for <script type="text/javascript" src="path/to/js.js"/>.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to