Could someone point me to URL where I can find XML DTD's for the EDI X12
doc, if there is any ?

Appreciate your help.

-----Original Message-----
From: Betty L. Harvey [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 10, 1999 5:29 AM
To: shanti pais
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: XML/EDI request:Please Reply



Shanti:

        The solution is to escape the <> characters using UNICODE.
The message would look like:

<message>This is my &#60;message&#62;.  </message>

        Reading between the lines from your message it looks like
you will be receiving your possibly from unknown sources.  If this
is the case it may be impossible to get the creators of the information
to use the UNICODE encoding rather than the keyboard <> characters.
You may need to create a preprocess to convert the 'special characters'
to the UNICODE encoding.  You will experience problems with #PCDATA
(parsed character data) with other characters, i.e., &, AUML, OUML, etc.

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone: 301-540-8251 FAX: 4268
Electronic Commerce Connection, Inc. | 
13017 Wisteria Drive, P.O. Box 333   | 
Germantown, Md.  20874               |
[EMAIL PROTECTED]                    | Washington,DC SGML/XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/  



On Fri, 10 Dec 1999, shanti pais wrote:

> 
> Dear friends,
>     I am working on a project XML/EDI. I have faced one problem here while

> parsing an XML document.
>     My XML document is an e-mail document which contains
>    <email>
>    <to></to>
>    <from></from>
>    <message></message>
>     </email>
> 
>      I have defined DTD as <!ELEMENT message (#PCDATA)> which contains
only 
> the character string.
> 
> But the problem is inside the message the user may use
> the tag <message>"information"</message> since he is unaware of the DTD 
> structure. But parser will consider it as a subelement and may give 
> declaration error, but actually it is nothing but PCDATA.
> 
>   Anybody knows the solution for this problem please reply me soon.
> 
> Thaking you
> Shanti Maria Pais
> 
> 
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> ==========================================
> XML/EDI Group members-only discussion list
> Homepage =  http://www.xmledi.com
> 
> Brought to you by: Online Technologies Corporation
>                   Home of BizServe - www.bizserve.com
> 
> TO UNSUBSCRIBE: Send email to <[EMAIL PROTECTED]>
>                Leave the subject blank, and
>                In the body of the message, enter ONLY: unsubscribe
> 
> Questions/requests should be sent to: [EMAIL PROTECTED]
> To join the XML/EDI Group complete the form located at:
> http://www.geocities.com/WallStreet/Floor/5815/mail1.htm
> 
> 


==========================================
XML/EDI Group members-only discussion list
Homepage =  http://www.xmledi.com

Brought to you by: Online Technologies Corporation
                  Home of BizServe - www.bizserve.com

TO UNSUBSCRIBE: Send email to <[EMAIL PROTECTED]>
               Leave the subject blank, and
               In the body of the message, enter ONLY: unsubscribe

Questions/requests should be sent to: [EMAIL PROTECTED]
To join the XML/EDI Group complete the form located at:
http://www.geocities.com/WallStreet/Floor/5815/mail1.htm



==========================================
XML/EDI Group members-only discussion list
Homepage =  http://www.xmledi.com

Brought to you by: Online Technologies Corporation
                  Home of BizServe - www.bizserve.com

TO UNSUBSCRIBE: Send email to <[EMAIL PROTECTED]>
               Leave the subject blank, and
               In the body of the message, enter ONLY: unsubscribe

Questions/requests should be sent to: [EMAIL PROTECTED]
To join the XML/EDI Group complete the form located at:
http://www.geocities.com/WallStreet/Floor/5815/mail1.htm

Reply via email to