Hello DFDL community,

My input is a comma-separated value (CSV) file about automobiles:

Year,Make,Model,Description,Price
1997,Ford,E350,"ac, abs, moon",2999.99
1999,Chevy,Venture Extended Edition,,4900.00
1999,-,Venture Extended Edition,Very Large,5000.00
1996,Jeep,Grand Cherokee,"MUST SELL! air, moon roof, loaded",4799.00

Notice that the 4th line has a dash ( - ) in the Make field. The dash denotes 
"no data available." For that field, I want my DFDL schema to generate this XML:

<Make>unknown</Make>

Truthfully, I don't have any idea how to create a DFDL schema to do this. Would 
you give me some suggestions on how to do this, please?

/Roger

Reply via email to