Edgewall Software

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#10 closed defect (fixed)

Populate attributes from the attribute set of the matched element

Reported by: cmlenz Owned by: cmlenz
Priority: minor Milestone: 0.1
Component: General Version:
Keywords: Cc:

Description (last modified by cmlenz)

The following should work but doesn't:

<html xmlns:py="http://markup.edgewall.org/">
  <body py:match="body" py:attrs="select('@*')">
    <div id="header"/>
    $(select('*')}
    <div id="footer"/>
  </body>
  <body id="bar">
    <h1>Foo</h1>
   </body>
</html>

In particular, the part py:attrs="select('@*')" currently does not work. What it should be doing is to add all the attributes of the matched element to the element produced by the match template.

Change History (4)

comment:1 Changed 18 years ago by cmlenz

  • Milestone changed from 0.2 to 0.3
  • Priority changed from major to minor

comment:2 Changed 18 years ago by cmlenz

  • Milestone changed from 0.3 to 0.2
  • Status changed from new to assigned

comment:3 Changed 18 years ago by cmlenz

  • Resolution set to fixed
  • Status changed from assigned to closed

Implemented in [82].

comment:4 Changed 18 years ago by cmlenz

  • Description modified (diff)
Note: See TracTickets for help on using tickets.