Re: [xslt] outputing some ctrl chars



On Wed, 14 Nov 2001, jon wa wrote:

> i'm guessing the answer is "no" but before i write a nasty hack i thought
> i'd check :)
>
> i'm transforming some XML to some ancient ASCII format over which i have no
> control. this format requires me to use a ctrl-H (backspace?) and a ctrl-C.
> now if i type "&-#-0-3-;" for ctrl-C this obviously fails because it is not
> of type xmlChar, but i was wondering if i could do something else?
>
> is it possible to put something into a CDATA section or anyway i could add
> my own charset that could maybe force the characters out?

No. You have to post-process. Try Perl.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]