Hi guys, can you point me to some useful links?
CONFIG.XML
STRUCTURE.XML
1. Read CONFIG.XML element.
2. Read all element in STRUCTURE.XML where Field element with attribute = CONFIG.XML.Fiel dNamePattern 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.Fiel dNamePattern 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
CONFIG.XML
Code:
<Config sequence="0">
<DataType>String</DataType>
<FieldNamePattern>*</FieldNamePattern>
</Config>
<Config sequence="1">
<DataType>String</DataType>
<FieldNamePattern>*0*</FieldNamePattern>
</Config>
Code:
<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.Fiel dNamePattern 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.Fiel dNamePattern 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