Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: XML Sctructure
Sami,
-------------------------------------------------Esta mensagem foi enviada por Siteplanet WebMail. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Eca INET: eca@siteplanet.com.br Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Dec 01 2003 - 07:39:29 CST--------- Mensagem Original --------
De: "Sami" <saminathans@myrealbox.com>
Para: "Multiple recipients of list ORACLE-L" <ORACLE-L@fatcity.com>
Assunto: RE: XML Sctructure
Data: 30/11/03 11:24
More than one line of what? Do you want to try something like below?
<?xml version="1.0"?>
<!-- Exemplo de XML Endereco-->
<!DOCTYPE lista_endereco SYSTEM "lista_endereco.dtd">
<lista_endereco>
<endereco>
<titulo> rodolfo do Carmo Andrietta</titulo>
<primeironome>Eriovaldo</primeironome>
<ultimonome>Andrietta</ultimonome>
<logradouro>R Um</logradouro>
<cidade>Sao Paulo</cidade>
<estado>SP</estado>
<cep>01680-000</cep>
</endereco>
<endereco>
<titulo> rodolfo do Carmo Andrietta</titulo>
<primeironome>Eriovaldo</primeironome>
<ultimonome>Andrietta</ultimonome>
<logradouro>R Um</logradouro>
<cidade>Sao Paulo</cidade>
<estado>SP</estado>
<cep>01680-000</cep>
</endereco>
</lista_endereco>
-----Original Message-----
ecaforum
Sent: Sunday, November 30, 2003 3:39 AM
To: Multiple recipients of list ORACLE-L
Hi friend,
HI know that this forum is about Oracle, but i have a doubt and i
think thay someone can help me .
I have the xml sctructure below.
XML :
<?xml version="1.0"?>
<!-- Exemplo de XML Endereco-->
<!DOCTYPE lista_endereco SYSTEM "lista_endereco.dtd">
<lista_endereco>
<endereco>
<titulo> rodolfo do Carmo Andrietta</titulo>
<primeironome>Eriovaldo</primeironome>
<ultimonome>Andrietta</ultimonome>
<logradouro>R Um</logradouro>
<cidade>Sao Paulo</cidade>
<estado>SP</estado>
<cep>01680-000</cep>
</endereco>
</lista_endereco>
DTD
<!-- lista_endereco.dtd -->
<!ELEMENT lista_endereco (endereco)>
<!ELEMENT endereco (titulo, primeironome, ultimonome, logradouro,
cidade, estado, cep)>
<!ELEMENT titulo (#PCDATA)>
<!ELEMENT primeironome (#PCDATA)>
<!ELEMENT ultimonome (#PCDATA)>
<!ELEMENT logradouro (#PCDATA)>
<!ELEMENT cidade (#PCDATA)>
<!ELEMENT estado (#PCDATA)>
<!ELEMENT cep (#PCDATA)>
My question is :
How can i do for use DTD and put more than 1 line in XML ?
Because like that, if i put one more line in xml it says that file is
invalid.
Any clue ?
Thanks.
Eriovaldo
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: ecaforum
INET: ecaforum@itelefonica.com.br
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Sami
INET: saminathans@myrealbox.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).