Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0"?>
<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd" default-selector-namespace="http://www.milyn.org/xsd/smooks/csv-1.1.xsd">

    <!--
        Bean Instance Creator Resource...
    -->

    <resource-config selector="reader">
        <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
        <param name="resource">org.milyn.csv.CSVReader</param>
    </resource-config>

    <resource-config selector="reader">
        <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
        <param name="setOn">selector</param>
        <param name="value">org.xml.sax.driver</param>
    </resource-config>

    <resource-config selector="reader">
        <resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
        <param name="attribute">fields</param>
    </resource-config>

	<resource-config selector="reader">
        <resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
        <param name="attribute">separator</param>
    </resource-config>

    <resource-config selector="reader">
        <resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
        <param name="attribute">quote</param>
        <param name="mapTo">quote-char</param>
    </resource-config>

    <resource-config selector="reader">
        <resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
        <param name="attribute">skipLines</param>
        <param name="mapTo">skip-line-count</param>
    </resource-config>

    <resource-config selector="reader">
        <resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
        <param name="attribute">encoding</param>
    </resource-config>

</smooks-resource-list>
New to GrepCode? Check out our FAQ X