Hallo Andreas

Ich bin zwar nicht sicher ob ich dein Problem richtig verstanden habe.
Ich gehe mal, mit der Hoffnung das ich dich nicht in eine falsche f�hrte
locke, davon aus dass sich sowas mit dem Gold Parser realisieren l�sst.
http://www.devincook.com/goldparser/engine/dot-net.htm

Gruss Ivo  

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Alexander Zeitler
> Sent: Friday, March 04, 2005 8:54 AM
> To: [email protected]
> Subject: [Coffeehouse] Freitag: Regeln parsen
> 
> Hallo,
> 
> ich habe mehrere String-Kombinationen, die bestimmten Regeln 
> entsprechen m�ssen.
> 
> Die String-Kombiniation sehen wie folgt aus:
> 
> MyString=MyValue
> 
> Die Regeln:
> * existiert "MyString"?
> * existiert "MyValue" f�r "MyString"?
> * L�sst sich "MyValue" in einen bestimmten DatenTyp casten?
> * Existiert die Kombiniation
> "MyString=MyValue" und "MyString1=MyValue1"?
> (oder komplexer)
> 
> Die Regeln m�ssen mit UND und OR kombinierbar sein.
> 
> Idealerweise soll das Ganze XML-basiert definiert werden k�nnen.
> 
> Die Struktur des XML Files stelle ich mir etwa so
> vor:
> 
> <?xml version="1.0" encoding="utf-8" ?>
> <configuration>
>       <Rules>
>               <Rule>
>                       <Combines>
>                               <Combine>Control</Combine>
>                               <Combine>ControlID</Combine>
>                       </Combines>
>                       <AllowedValues>
>                               <AllowedValue
> name="Control">Categories</AllowedValue>
>                       </AllowedValues>
>                       <AllowedTypes>
>                               <AllowedType
> type="int">ControlID</AllowedType>
>                       </AllowedTypes>
>                       <Action>CategoryViewManager.ascx</Action>
>               </Rule>
>       </Rules>
> </configuration>
> 
> Technologie: alles was .NET 1.1 zu bieten hat.
> 
> Gruss
> 
> Alex
> 
> 
> _______________________________________________
> Coffeehouse Mailingliste, Postings senden an:
> [email protected]
> An-/Abmeldung und Suchfunktion unter:
> http://www.glengamoi.com/mailman/listinfo/coffeehouse
> 


_______________________________________________
Coffeehouse Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an