mjd-perl-pm on Mon, 1 Apr 2002 23:50:13 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Regexes in XML


Well, I'm really sorry I screwed up Dan's joke, but at the time I
really thought he was going to say it wasn't a joke.  Why did I think
that?  Because of:

        http://www.thaiopensource.com/trex/tutorial.html

Here's an real example:

        <element name="addressBook">
          <zeroOrMore>
            <element name="card">
              <element name="name">
                <anyString/>
              </element>
              <element name="email">
                <anyString/>
              </element>
              <optional>
                <element name="note">
                  <anyString/>
                </element>
              </optional>
            </element>
          </zeroOrMore>
        </element>

I am not making this up.

Mark-Jason Dominus 	  			                 mjd@plover.com
Philadelphia Excursions Mailing List:    http://www.plover.com/~mjd/excursions/


**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**