Skip to content

Instantly share code, notes, and snippets.

@riferrei
Created April 25, 2010 22:37
Show Gist options
  • Select an option

  • Save riferrei/378790 to your computer and use it in GitHub Desktop.

Select an option

Save riferrei/378790 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?><smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd" xmlns:jb="http://www.milyn.org/xsd/smooks/javabean-1.2.xsd">
<params>
<param name="stream.filter.type">SAX</param>
<param name="inputType">input.xml</param>
<param name="input.xml" type="input.type.actived">Workspace://esb-sqlRouter-demo/esbContent/META-INF/cliente.xml</param>
</params>
<jb:bean beanId="cliente" class="aaa.bbb.ccc.Cliente" createOnElement="/pedido/cliente">
<jb:value data="/pedido/cliente/@cpf" decoder="Integer" property="cpf"/>
<jb:value data="/pedido/cliente/primeiro-nome" property="primeiroNome"/>
<jb:value data="/pedido/cliente/ultimo-nome" property="ultimoNome"/>
</jb:bean>
</smooks-resource-list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment