<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 3: Have the option to enclose the message text in a tag</title><link>https://sourceforge.net/p/barcode4j/feature-requests/3/</link><description>Recent changes to 3: Have the option to enclose the message text in a tag</description><atom:link href="https://sourceforge.net/p/barcode4j/feature-requests/3/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 25 Feb 2007 15:47:52 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/barcode4j/feature-requests/3/feed.rss" rel="self" type="application/rss+xml"/><item><title>Have the option to enclose the message text in a tag</title><link>https://sourceforge.net/p/barcode4j/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Have the option to enclose the message text in a tag instead of an attribute.&lt;/p&gt;
&lt;p&gt;I have been using barcode4j 1.0 for over a year in my company's account management application for generated bar-coded payment coupons. We generate these coupons using various XSLTs and (ultimately) FOP. During one phase of the transformation we do value-replacement on custom XML tags. The message of the barcode is inserted using one of the value-replacement tags.&lt;/p&gt;
&lt;p&gt;It proved to be too time-consuming to attempt to write the XSLT to replace the message attribute of the barcode, so instead we patched barcode4j to allow for the insertion of the message into a message tag. For example:&lt;/p&gt;
&lt;p&gt;&amp;lt;barcode&amp;gt;&lt;br /&gt;
&amp;lt;message&amp;gt;foo&amp;lt;/message&amp;gt;&lt;br /&gt;
&amp;lt;/barcode&amp;gt;&lt;/p&gt;
&lt;p&gt;instead of:&lt;/p&gt;
&lt;p&gt;&amp;lt;barcode message="foo"&amp;gt;&lt;br /&gt;
&amp;lt;/barcode&amp;gt;&lt;/p&gt;
&lt;p&gt;I will attach DIFF files when I get a chance.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert Weber</dc:creator><pubDate>Sun, 25 Feb 2007 15:47:52 -0000</pubDate><guid>https://sourceforge.netf035fbba37c4eec34d52d8645e4171eb538069ad</guid></item></channel></rss>