This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > February 2005 > Tag with range of values





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Tag with range of values
juli jul

2005-02-15, 7:27 am

Hello,
Is it possible to create a tag which will get a range of values (for
examle 1-100) and a jump value (for example 5).
And present results (5,10,15,10,25....)?



*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
Martin Honnen

2005-02-15, 6:43 pm



juli jul wrote:


> Is it possible to create a tag which will get a range of values (for
> examle 1-100) and a jump value (for example 5).
> And present results (5,10,15,10,25....)?


Within W3C XML schemas you can define types which enumerate the possible
values so you could enumerate those values in a schema and a parser like
MSXML 4 or 5 which supports W3C XML schemas could then check XML
instance files.


--

Martin Honnen
http://JavaScript.FAQTs.com/
juli jul

2005-02-15, 6:43 pm



Thanks a lot!
But how exactly I can define this ? (syntax)

*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
Martin Honnen

2005-02-15, 6:43 pm



juli jul wrote:


> But how exactly I can define this ? (syntax)


Check an introduction to W3C XML schema, here is one:
http://www.w3.org/TR/xmlschema-0/
look for enumeration in there.


--

Martin Honnen
http://JavaScript.FAQTs.com/
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews