Bug 44567 - add <meta:attribute ... syntax to metadata transformer
Summary: add <meta:attribute ... syntax to metadata transformer
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: Trunk
Hardware: Macintosh All
: P2 enhancement
Target Milestone: ---
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-08 11:50 UTC by Juergen Ragaller
Modified: 2008-03-08 11:50 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Ragaller 2008-03-08 11:50:11 UTC
To easily insert an attribute containing metadata value in an xslt transformation, the following syntax would be handy.

 <meta:attribute name="..."
      element="element-name"
      ns="http://somedomain.ch/meta"
      default="default-value"
      uuid="{@uuid}"
      lang="{$language}"/>

The syntax was suggested by Andreas - thanks!

Currently to get attribute metadata one can use two subsequent xsl transformations.

see this post:
http://www.nabble.com/-2.0.1----question-about-xsl-and-the-metadata-transformer-to15915341.html