CONFIG.XML
Expand|Select|Wrap|Line Numbers
- <Config sequence="0">
- <DataType>String</DataType>
- <FieldNamePattern>*</FieldNamePattern>
- </Config>
- <Config sequence="1">
- <DataType>String</DataType>
- <FieldNamePattern>*0*</FieldNamePattern>
- </Config>
Expand|Select|Wrap|Line Numbers
- <Field name = "Field01">
- <Datatype datatype = "String" datalength = "10"/>
- </Field>
- <Field name = "Field02">
- <Datatype datatype = "DateTime" datalength = "10"/>
- </Field>
- <Field name = "Field13">
- <Datatype datatype = "String" datalength = "5"/>
- </Field>
2. Read all element in STRUCTURE.XML where Field element with attribute = CONFIG.XML.FieldNamePattern and have the same datatype. In this case, Field02 is not included since it's a DateTime.
3. Read the next element.
4.Read all element in STRUCTURE.XML where Field element with attribute = CONFIG.XML.FieldNamePattern and have the same datatype. In this case, only Field01 will be included since it conforms with the pattern and the datatype.
In ASP/VbScript, please.
Do I make sense?
If you could just point me to the right direction.
Thanks Guys,
-- CK