pattern values

Discussion in 'XML' started by c_capatana@hotmail.com, Nov 11, 2003.

  1. Guest

    I have to write an schema for application that must run on Win and
    Unix.

    I have to describe some pattern values. I have read some documentation
    and some previous Q&A in XML groups. Some questions remain for me.
    What's the
    better way to use for specifying these pattern value, independent of
    platform:

    for digits: [0-9] or \d
    for example 12 digits pattern must be: [0-9]{1,12} or \d{1,12}
    for enter: &#xD or \n
    for example an element that must contain 12digits Enter 15a:
    \d{1,12}
    [A-Z]{1,15} or \d{1,12}\n[A-Z]{1,15}

    Are both definitions correct. What is preffered?

    Please help me.
    Thanks.
     
    , Nov 11, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    17
    Views:
    1,934
    Chris Uppal
    Nov 16, 2005
  2. sunny
    Replies:
    1
    Views:
    479
    Salt_Peter
    Dec 7, 2006
  3. Pallav singh
    Replies:
    0
    Views:
    412
    Pallav singh
    Jan 22, 2012
  4. Pallav singh
    Replies:
    0
    Views:
    433
    Pallav singh
    Jan 22, 2012
  5. Pallav singh
    Replies:
    1
    Views:
    471
    Peter Remmers
    Jan 22, 2012
Loading...

Share This Page