OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Array of #PCDATA

[ Lists Home | Date Index | Thread Index ]

In the foo.dtd file shown below, the 0 to many occurrence operator _*_ is placed after "bar" indicating its occurrence.
<?xml version="1.0"?>
<!DOCTYPE foo SYSTEM "foo.dtd">
    <bar>Some text</bar>
    <bar>Some more text</bar>
<!ELEMENT foo (bar)*>

Prashanth Rao
prao@vitria.com - 773-255-8743
Vitria - www.vitria.com

-----Original Message-----
From: rajac [mailto:rajac@ncmr.co.in]
Sent: Monday, February 11, 2002 12:42 PM
To: xml-dev@lists.xml.org
Subject: [xml-dev] Array of #PCDATA

   I want to have an Array of #PCDATA (ie An Element of type String Array). In the DTD, i have declared it as <!ELEMENT name (#PCDATA)*>.  But the parser throws error when i declare it like this.
    Also i am not very clear that, How corresponding XML should look loke?. It would be more helpful, if you can tell how the DTD and XMl should be?.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS