RE: XML Sctructure

2003-12-02 Thread ecaforum
Tks, Sami

I will try it.

Eriovaldo


 -- Mensagem original ---
 
 De  : [EMAIL PROTECTED]
 Para: Multiple recipients of list ORACLE-L ORACLE-
[EMAIL PROTECTED]
 Cc  : 
 Data: Mon, 01 Dec 2003 18:19:25 -0800
 Assunto : RE: XML Sctructure
 
 You can generate DTD based on below XML (kind of reverse engineering
).
 Then see the diff between the generated DTD and your original DTD.
 
 ?xml version=1.0?
 !-- Exemplo de XML Endereco--
 lista_endereco
 endereco
 titulo rodolfo do Carmo Andrietta/titulo
 primeironomeEriovaldo/primeironome
 ultimonomeAndrietta/ultimonome
 logradouroR Um/logradouro
 cidadeSao Paulo/cidade
 estadoSP/estado
 cep01680-000/cep
 /endereco
 endereco
 titulo rodolfo do Carmo Andrietta/titulo
 primeironomeEriovaldo/primeironome
 ultimonomeAndrietta/ultimonome
 logradouroR Um/logradouro
 cidadeSao Paulo/cidade
 estadoSP/estado
 cep01680-000/cep
 /endereco
 /lista_endereco
   -Original Message-
   From: Eca [mailto:[EMAIL PROTECTED]
   Sent: Monday, December 01, 2003 9:56 AM
   To: Sami; Multiple recipients of list ORACLE-L
   Subject: RE: XML Sctructure
 
 
   Sami,
   Yes. It is my purpose.
   but the xmlspy (in home version) says that the file is invalid.
 
   something wrong ?
 
 
 
 - Mensagem Original 
 De: Sami [EMAIL PROTECTED]
 Para: Multiple recipients of list ORACLE-L ORACLE-
[EMAIL PROTECTED]
 Assunto: RE: XML Sctructure
 Data: 30/11/03 11:24
 
 
 More than one line of what? Do you want to try something like be
low?
 
 ?xml version=1.0?
 !-- Exemplo de XML Endereco--
 !DOCTYPE lista_endereco SYSTEM lista_endereco.dtd
 lista_endereco
 endereco
 titulo rodolfo do Carmo Andrietta/titulo
 primeironomeEriovaldo/primeironome
 ultimonomeAndrietta/ultimonome
 logradouroR Um/logradouro
 cidadeSao Paulo/cidade
 estadoSP/estado
 cep01680-000/cep
 /endereco
 endereco
 titulo rodolfo do Carmo Andrietta/titulo
 primeironomeEriovaldo/primeironome
 ultimonomeAndrietta/ultimonome
 logradouroR Um/logradouro
 cidadeSao Paulo/cidade
 estadoSP/estado
 cep01680-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
 primeironomeEriovaldo/primeironome
 ultimonomeAndrietta/ultimonome
 logradouroR Um/logradouro
 cidadeSao Paulo/cidade
 estadoSP/estado
 cep01680-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 fi
le is
 invalid.
 
 Any clue ?
 
 Thanks.
 Eriovaldo
 
 
 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 --
 Author: ecaforum
 INET: [EMAIL PROTECTED]
 
 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: [EMAIL PROTECTED] (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 m
ay
 also send the HELP command for other information (like subscribi
ng).
 
 --
 Please see the official ORACLE-L FAQ: http://www.orafaq.net
 --
 Author: Sami
 INET: [EMAIL PROTECTED]
 
 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: [EMAIL PROTECTED] (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 m
ay
 also send the HELP command for other information (like subscribi
ng

RE: XML Sctructure

2003-12-01 Thread Eca
Sami, Yes. It is my purpose.but the xmlspy (in home version) says
that the file is invalid.something wrong ?

- Mensagem Original De:
"Sami" [EMAIL PROTECTED]Para: "Multiple recipients of
list ORACLE-L" [EMAIL PROTECTED]Assunto: RE: XML
SctructureData: 30/11/03 11:24More 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_enderecoenderecotitulo
rodolfo do Carmo
Andrietta/tituloprimeironomeEriovaldo/primeironomeultimonomeAndrietta/ultimonomelogradouroR
Um/logradourocidadeSao
Paulo/cidadeestadoSP/estadocep01680-000/cep/enderecoenderecotitulo
rodolfo do Carmo
Andrietta/tituloprimeironomeEriovaldo/primeironomeultimonomeAndrietta/ultimonomelogradouroR
Um/logradourocidadeSao
Paulo/cidadeestadoSP/estadocep01680-000/cep/endereco/lista_endereco-Original
Message-ecaforumSent: Sunday, November 30, 2003 3:39 AMTo:
Multiple recipients of list ORACLE-LHi friend,HI know that
this forum is about Oracle, but i have a doubt and ithink 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_enderecoenderecotitulo
rodolfo do Carmo
Andrietta/tituloprimeironomeEriovaldo/primeironomeultimonomeAndrietta/ultimonomelogradouroR
Um/logradourocidadeSao
Paulo/cidadeestadoSP/estadocep01680-000/cep/endereco/lista_enderecoDTD!--
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
isinvalid.Any clue
?Thanks.Eriovaldo--Please see the official
ORACLE-L FAQ: http://www.orafaq.net--Author:
ecaforumINET: [EMAIL PROTECTED]Fat
City Network Services -- 858-538-5051 http://www.fatcity.comSan Diego,
California -- Mailing list and web hosting
services-To
REMOVE yourself from this mailing list, send an E-Mail messageto: [EMAIL PROTECTED]
(note EXACT spelling of 'ListGuru') and inthe message BODY, include a
line containing: UNSUB ORACLE-L(or the name of mailing list you want to
be removed from). You mayalso send the HELP command for other
information (like subscribing).--Please see the official
ORACLE-L FAQ: http://www.orafaq.net--Author:
SamiINET: [EMAIL PROTECTED]Fat
City Network Services -- 858-538-5051 http://www.fatcity.comSan Diego,
California -- Mailing list and web hosting
services-To
REMOVE yourself from this mailing list, send an E-Mail messageto: [EMAIL PROTECTED]
(note EXACT spelling of 'ListGuru') and inthe message BODY, include a
line containing: UNSUB ORACLE-L(or the name of mailing list you want to
be removed from). You mayalso send the HELP command for other
information (like
subscribing).-Esta
mensagem foi enviada por Siteplanet WebMail.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Eca
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).


RE: XML Sctructure

2003-12-01 Thread Sami



You 
can generate DTD based on below XML (kind of reverse engineering). 

Then 
see the diff between the generated DTD and your original 
DTD.

?xml 
version="1.0"?!-- Exemplo de XML 
Endereco--lista_enderecoenderecotitulo 
rodolfo do Carmo 
Andrietta/tituloprimeironomeEriovaldo/primeironomeultimonomeAndrietta/ultimonomelogradouroR 
Um/logradourocidadeSao 
Paulo/cidadeestadoSP/estadocep01680-000/cep/enderecoenderecotitulo 
rodolfo do Carmo 
Andrietta/tituloprimeironomeEriovaldo/primeironomeultimonomeAndrietta/ultimonomelogradouroR 
Um/logradourocidadeSao 
Paulo/cidadeestadoSP/estadocep01680-000/cep/endereco/lista_endereco

  -Original Message-From: Eca 
  [mailto:[EMAIL PROTECTED]Sent: Monday, December 01, 2003 9:56 
  AMTo: Sami; Multiple recipients of list ORACLE-LSubject: 
  RE: XML SctructureSami, Yes. It is my purpose.but 
  the xmlspy (in home version) says that the file is invalid.something 
  wrong ?
  
- Mensagem Original De: 
"Sami" [EMAIL PROTECTED]Para: "Multiple recipients of 
list ORACLE-L" [EMAIL PROTECTED]Assunto: RE: XML 
SctructureData: 30/11/03 11:24More 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_enderecoenderecotitulo 
rodolfo do Carmo 
Andrietta/tituloprimeironomeEriovaldo/primeironomeultimonomeAndrietta/ultimonomelogradouroR 
Um/logradourocidadeSao 
Paulo/cidadeestadoSP/estadocep01680-000/cep/enderecoenderecotitulo 
rodolfo do Carmo 
Andrietta/tituloprimeironomeEriovaldo/primeironomeultimonomeAndrietta/ultimonomelogradouroR 
Um/logradourocidadeSao 
Paulo/cidadeestadoSP/estadocep01680-000/cep/endereco/lista_endereco-Original 
Message-ecaforumSent: Sunday, November 30, 2003 3:39 AMTo: 
Multiple recipients of list ORACLE-LHi friend,HI know that 
this forum is about Oracle, but i have a doubt and ithink 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_enderecoenderecotitulo 
rodolfo do Carmo 
Andrietta/tituloprimeironomeEriovaldo/primeironomeultimonomeAndrietta/ultimonomelogradouroR 
Um/logradourocidadeSao 
Paulo/cidadeestadoSP/estadocep01680-000/cep/endereco/lista_enderecoDTD!-- 
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 
isinvalid.Any clue 
?Thanks.Eriovaldo--Please see the official 
ORACLE-L FAQ: http://www.orafaq.net--Author: 
ecaforumINET: [EMAIL PROTECTED]Fat 
City Network Services -- 858-538-5051 http://www.fatcity.comSan Diego, 
California -- Mailing list and web hosting 
services-To 
REMOVE yourself from this mailing list, send an E-Mail messageto: [EMAIL PROTECTED] 
(note EXACT spelling of 'ListGuru') and inthe message BODY, include a 
line containing: UNSUB ORACLE-L(or the name of mailing list you want to 
be removed from). You mayalso send the HELP command for other 
information (like subscribing).--Please see the official 
ORACLE-L FAQ: http://www.orafaq.net--Author: 
SamiINET: [EMAIL PROTECTED]Fat 
City Network Services -- 858-538-5051 http://www.fatcity.comSan Diego, 
California -- Mailing list and web hosting 
services-To 
REMOVE yourself from this mailing list, send an E-Mail messageto: [EMAIL PROTECTED] 
(note EXACT spelling of 'ListGuru') and inthe message BODY, include a 
line containing: UNSUB ORACLE-L(or the name of mailing list you want to 
be removed from). You mayalso send the HELP command for other 
information (like 
  subscribing).-Esta 
  mensagem foi enviada por Siteplanet WebMail. 


RE: XML Sctructure

2003-11-30 Thread Sami
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
primeironomeEriovaldo/primeironome
ultimonomeAndrietta/ultimonome
logradouroR Um/logradouro
cidadeSao Paulo/cidade
estadoSP/estado
cep01680-000/cep
/endereco
endereco
titulo rodolfo do Carmo Andrietta/titulo
primeironomeEriovaldo/primeironome
ultimonomeAndrietta/ultimonome
logradouroR Um/logradouro
cidadeSao Paulo/cidade
estadoSP/estado
cep01680-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
primeironomeEriovaldo/primeironome
ultimonomeAndrietta/ultimonome
logradouroR Um/logradouro
cidadeSao Paulo/cidade
estadoSP/estado
cep01680-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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).


RE: XML Sctructure

2003-11-30 Thread nelson flores
That works fine I don't know what the problem is .. as long as you
have a unique root element, then there should be no problem. 



-Original Message-
Sami
Sent: Sunday, November 30, 2003 6:19 AM
To: Multiple recipients of list ORACLE-L

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
primeironomeEriovaldo/primeironome
ultimonomeAndrietta/ultimonome
logradouroR Um/logradouro
cidadeSao Paulo/cidade
estadoSP/estado
cep01680-000/cep
/endereco
endereco
titulo rodolfo do Carmo Andrietta/titulo
primeironomeEriovaldo/primeironome
ultimonomeAndrietta/ultimonome
logradouroR Um/logradouro
cidadeSao Paulo/cidade
estadoSP/estado
cep01680-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
primeironomeEriovaldo/primeironome
ultimonomeAndrietta/ultimonome
logradouroR Um/logradouro
cidadeSao Paulo/cidade
estadoSP/estado
cep01680-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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: nelson flores
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).