|
Raul,
I haven't heard when the XML block will be supported in OS/400. I write my
own HTTP headers to send XML documents.
In a %DEFINE block outside of your %HTML block, set
DTW_PRINT_HEADER = "no"
DTW_REMOVE_WS = "yes" (I actually put this in my INI file, it seems to
work better)
Then, in your %HTML block, put this before you write any data out:
Content-Type: text/xml
@dtw_rhextochar("0D25")
And your webserver should send all the ensuing data with HTTP headers
telling the receiver that the data is XML and not HTML.
Mike E.
|---------+--------------------------------------------------------->
| | Raul A Jager <raul@xxxxxxxxxx> |
| | Sent by: |
| | midrange-l-bounces+meovino=estes-express.com@m|
| | idrange.com |
| | |
| | |
| | 10/29/2003 12:25 PM |
| | Please respond to Midrange Systems Technical |
| | Discussion |
| | |
|---------+--------------------------------------------------------->
>-----------------------------------------------------------------------------------------|
|
|
| To: Midrange Systems Technical Discussion
<midrange-l@xxxxxxxxxxxx> |
| cc:
|
| Subject: XML in Net.Data
|
>-----------------------------------------------------------------------------------------|
I tryed to produce a XML page using Net.Data, but I got this response:
Error NET.DATA: Se ha encontrado un símbolo (%XML) incorrecto en la línea
8 del archivo /QSYS.LIB/INTERNET.LIB/QPUBSRC.FILE/clasiweb.mbr.
I did RTFM and I found :
Note: XML block is not supported by OS/400.
Is there support planned in the next release? Do I need to use RPG?
Other options? I feel lost.
TIA.
Raul
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.