You could use DOM and convert it to a string in the plugin, but that
means that you have to use a DOM object :)
Other than that, I think you need to wrap it in a CDATA.
Plexus has no internal converter for turning a DOM into a string at
the moment.
- Brett
On 11/12/2008, at 9:17 PM, clement escoffier wrote:
Hello,
I'm developing a maven plugin with a configuration containing an XML
String.
However, I would like to get it as a regular String. In my context
it is not
possible to use DOM objects as the content undetermined.
Here is an example of such configuration:
<configuration>
<meta>
<component
classname="org.apache.felix.ipojo.arch.ArchCommandImpl"
public="false">
<Provides />
<requires field="m_archs" optional="true" />
<requires field="m_handlers" optional="true"/>
</component>
</meta>
</configuration>
Is it possible to get the "meta" parameter as a regular String ?
Best regards,
Clement
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]