Re: [xep-support] Need help rendering special characters

From: Greg Baryza <baryza@intersystems.com>
Date: Fri Jan 21 2005 - 05:24:03 PST

Since you are writing it to a file, why not just create a separate
processing step that does the substitution you need producing another file
that becomes the input to the parser?

At 01/20/2005 12:19, Joyce Huang wrote:
>Hello,
>
> My name is Joyce Huang from VNS in New York. I have trouble to escaping
>special characters in xml file, such as "&" "<" etc.. Our data source is a
>cobal program, which is vert restricted on record length. To escape when the
>xml is written is not possible, so I endup with a not well-formed xml with
>the task of fixing it before rendering. I am trying to use CDATA in xml
>like following. Please pay attention to the highlighted line which deal with
>special characters. One of my co-workers ran it through FOP and actually
>generated a pdf with the CDATA part "12345678&<<>99" intact, while when I
>passed it to renderx, I got a SAXParseException. Does renderX currently
>support CDATA? If not, can you recommend a solution?
>
>
><?xml version="1.0" encoding="UTF-8"?>
><print-job>
> <header>
> <copies>2</copies>
> <duplex>true</duplex>
> </header>
>
><NETPRNT_485_DATA>
> <NETPRNT_485_AGENCY_DATA>
>
><NETPRNT_485_HIC_NUMBER><[!CDATA[12345678&<<>99]]></NETPRNT_485_HIC_NUMBER>
>
><NETPRNT_485_START_OF_CARE_DAT>02/05/03</NETPRNT_485_START_OF_CARE_DAT>
> </NETPRNT_485_AGENCY_DATA>
></NETPRNT_485_DATA>
></print-job>
>
>
>Thanks.
>Joyce Huang
>
>-------------------
>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
>in the body of the message to majordomo@renderx.com from the address
>you are subscribed from.
>(*) By using the Service, you expressly agree to these Terms of Service
>http://www.renderx.com/tos.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Fri Jan 21 05:59:29 2005

This archive was generated by hypermail 2.1.8 : Fri Jan 21 2005 - 05:59:29 PST