Click here to Skip to main content
15,914,396 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionIs this possible ? Pin
Wilbur J. Pereira18-Jun-05 0:38
Wilbur J. Pereira18-Jun-05 0:38 
GeneralXML As Database Pin
Gaurang Desai17-Jun-05 22:45
Gaurang Desai17-Jun-05 22:45 
GeneralRe: XML As Database Pin
Ahmed Galal22-Jun-05 12:57
Ahmed Galal22-Jun-05 12:57 
Generalsetting the parameter value based on condition Pin
D.Sridhar17-Jun-05 10:38
D.Sridhar17-Jun-05 10:38 
GeneralSuitability of XML Pin
Anonymous17-Jun-05 5:50
Anonymous17-Jun-05 5:50 
GeneralRe: Suitability of XML Pin
DavidNohejl17-Jun-05 5:58
DavidNohejl17-Jun-05 5:58 
QuestionHow to improve my code? Thank You. Pin
shapper17-Jun-05 5:31
shapper17-Jun-05 5:31 
Generalcreating nested comparison through the xml property Pin
Member 205376617-Jun-05 4:20
Member 205376617-Jun-05 4:20 
Hi All,

In my page i have more than 100 controls. I have been using "XML Dynamic validation" for my page validation. i used the code from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/aspdatastructures.asp. i need a help to create a nested compare validator.

i put a sample xml code here:


<ValidatorCollection id="plHospDateTo" FriendlyName="18. HOSPITALIZED TO DATE " LegalValues="[MM/DD/YYYY] format" ControlToValidate="txtHospDateTo">

<Validator type="RegularExpression">

<Property name="ValidationExpression" value="^(?=\d)(?Frown | :( Frown | :( Frown | :( Frown | :( Blush | :O ?[13578]|1[02])(\/|-|\.)31)\1|(?Frown | :( Blush | :O ?[1,3-9]|1[0-2])(\/|-|\.)(?:29|30)\2))(?Frown | :( :1[6-9]|[2-9]\d)?\d{2})|(?Blush | :O ?2(\/|-|\.)29\3(?Frown | :( Frown | :( :1[6-9]|[2-9]\d)?(?Blush | :O [48]|[2468][048]|[13579][26])|(?Frown | :( :16|[2468][048]|[3579][26])00))))|(?Frown | :( Blush | :O ?[1-9])|(?:1[0-2]))(\/|-|\.)(?Blush | :O ?[1-9]|1\d|2[0-8])\4(?Frown | :( :1[6-9]|[2-9]\d)?\d{2}))($|\ (?=\d)))?(((0?[1-9]|1[012])(:[0-5]\d){0,2}(\ M))|([01]\d|2[0-3])(:[0-5]\d){1,2})?$" />

</Validator>

<Validator type="Compare">

<Property name="Type" value="Date" />

<Property name="ErrorMessage" value="18. HOSPITALIZED FROM DATE should be less than TO DATE" />

<Property name="Text" value="" />

<Property name="Operator" value="GreaterThanEqual" />

<Property name="ControlToCompare" value="txtHospDateFrom" />

</Validator>

</ValidatorCollection>

The problem:
i have a checkbox, when it is true i need to check the date validation in a textbox (txtHospDateFrom)

i think there is a way to use "valueToCompare" property.


can anyone tell me how to create a nested comparison

thank you

regards,
govind

QuestionHow to format this date? Pin
shapper16-Jun-05 14:01
shapper16-Jun-05 14:01 
AnswerRe: How to format this date? Pin
Christian Graus16-Jun-05 14:09
protectorChristian Graus16-Jun-05 14:09 
GeneralRe: How to format this date? Pin
shapper16-Jun-05 14:32
shapper16-Jun-05 14:32 
GeneralRe: How to format this date? Pin
Christian Graus16-Jun-05 14:36
protectorChristian Graus16-Jun-05 14:36 
GeneralHelp how to show this xml file in dataGrid Pin
manojsoni_dims16-Jun-05 2:50
manojsoni_dims16-Jun-05 2:50 
GeneralHelp I can't show the XML IN DATAGRID Pin
manojsoni_dims16-Jun-05 2:43
manojsoni_dims16-Jun-05 2:43 
GeneralMSXML2::IXMLDOMDocument::save a xml doc Pin
Saurabh_Delhi13-Jun-05 17:24
Saurabh_Delhi13-Jun-05 17:24 
GeneralXML &gt; Dataset. Please, I need help. Thank You. Pin
shapper13-Jun-05 13:21
shapper13-Jun-05 13:21 
QuestionHow to get nodes and place data into dataset? Pin
shapper13-Jun-05 8:04
shapper13-Jun-05 8:04 
GeneralLittle Problem in XML and ASP based project Pin
eshban28410-Jun-05 9:39
eshban28410-Jun-05 9:39 
GeneralPlease Help: XSLT transformation problem with namespaces Pin
Member 169700910-Jun-05 8:32
Member 169700910-Jun-05 8:32 
GeneralRe: Please Help: XSLT transformation problem with namespaces Pin
DavidNohejl10-Jun-05 9:02
DavidNohejl10-Jun-05 9:02 
GeneralGet XmlSchemaElement from XmlSchema by ID Pin
El'Cachubrey9-Jun-05 23:18
El'Cachubrey9-Jun-05 23:18 
QuestionWhy this error when using XML data? Pin
shapper9-Jun-05 15:43
shapper9-Jun-05 15:43 
AnswerRe: Why this error when using XML data? Pin
shapper9-Jun-05 15:44
shapper9-Jun-05 15:44 
AnswerRe: Why this error when using XML data? Pin
Christian Graus9-Jun-05 15:47
protectorChristian Graus9-Jun-05 15:47 
QuestionImplementation of XML (.NET 1.1) and RemoveChild() - is it a bug ? Pin
lkrzanik9-Jun-05 5:27
lkrzanik9-Jun-05 5:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.