LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives


XML-L Archives

XML-L Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave XML-L
Reply | Post New Message
Search Archives


Subject: Re: Is there a way to limit the # of parsed elements?
From: Nikita Ogievetsky <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Wed, 17 Mar 1999 04:21:50 PST
Content-Type:text/plain
Parts/Attachments:
Parts/Attachments

text/plain (50 lines)


Not every flavor of DTD/Schema allows it.
Here is extract from IE XML Schema doc.:
<element
    type="element-type"
    [minOccurs="{0 | 1}"]
    [maxOccurs="{1 | *}"]
>
Hope it helps.


Nikita Ogievetsky
Cogitech Inc
http://www.cogx.com

>From: Marcus Carr <[log in to unmask]>
>Reply-To: General discussion of Extensible Markup
Language<[log in to unmask]>
>To: [log in to unmask]
>Subject: Re: Is there a way to limit the # of parsed elements?
>Date: Wed, 17 Mar 1999 17:54:18 +1100
>
>Rochelle Edens wrote:
>
>> Being new to XML / XSL, I'm wondering if there's a way to invalidate
an
>> xml document based on how many times a specific element is parsed?
>
>I'm not knowledgeable enough to know if there might be a tricky way to
do
>this with XSL, but XML itself has no such restrictions. Ironically,
SGML
>supports limiting quantities, but it's rarely used and rejection for it
in
>XML must surely have been near-universal.
>
>
>--
>Regards,
>
>Marcus Carr                      email:  [log in to unmask]
>___________________________________________________________________
>Allette Systems (Australia)      www:    http://www.allette.com.au
>___________________________________________________________________
>"Everything should be made as simple as possible, but not simpler."
>       - Einstein




Get Your Private, Free Email at http://www.hotmail.com

Back to: Top of Message | Previous Page | Main XML-L Page

Permalink



LISTSERV.HEANET.IE

CataList Email List Search Powered by the LISTSERV Email List Manager