Hi Ed,
The XSLT recommendation requires URI-encoding as defined by HTML
recommendation. Perhaps you can post a small sample input document and
stylesheet and describe the desired output?
The next version of Xalan will have support for a special attribute of
xsl:output to disable URI-encoding.
Dave
"Edward L. Knoll"
<[EMAIL PROTECTED] To: David N
Bertoni/Cambridge/IBM <[EMAIL PROTECTED]>
com> cc:
Sent by: Subject: Re: Description of
<xsl:output ...> attributes.
[EMAIL PROTECTED]
d.fedex.com
02/19/2003 01:43 PM
Please respond to
edward.knoll
Turns out I was mistaken. The only problem I had was with a space
character which I had passed ''. However, I'm passing in some
characters as '&#xx;' sequences which are being used in the the
construction of some URLs (HTML HREFs) and these sequences are being
translated back to their original ASCII character forms in the generated
HTML. I was hoping that they would stay in the '&#xx;' form.
Is there some way for me to resolve this problem through the XSL
transformation? At this point, I'm getting prepared to (attempt to)
strip these characters from the generated URL.
Thanks,
Ed
David N Bertoni/Cambridge/IBM wrote:
>
> Hi Ed,
>
> Xalan-C supports the standard attributes from the XSLT recommendation,
plus
> a few additional ones to control URI-escaping and indenting, but none to
> control the representation of characters.
>
> There is no control over numeric character references in XML when
parsing.
> They are converted to the equivalent Unicode character and that's it. In
> the serialization phase, there is also no control over how characters are
> serialized, except that they will be serialized appropriately for the
> encoding.
>
> If you're having trouble in text mode, but not HTML, I suspect it's
because
> you are depending on the default output encoding for text. The XSLT
> recommendation says it's "system-dependent," so Xalan-C uses UTF-8. You
> might want to try specifying something like ASCII for the output encoding
> to see if that helps.
>
> Dave
>
>
> "Edward L. Knoll"
> <[EMAIL PROTECTED] To:
[email protected]
> com> cc: (bcc: David N
Bertoni/Cambridge/IBM)
> Sent by: Subject: Description
of <xsl:output ...> attributes.
> [EMAIL PROTECTED]
> d.fedex.com
>
>
> 02/19/2003 12:40 PM
> Please respond to
> edward.knoll
>
>
> Are the <xsl:output> attributes values and associated behavior
> documented anywhere for Xalan C++? Can't get to the FAQ sheets or I'd
> go look there. Specifically, I trying to figure out what might control
> how '&&xx;' sequences in the input XML file would be translated and
> output. I have XSL stylesheets which result in text and and html
> output. I think the html output is okay, but I'm getting some
> unexpected character sequences for the text output.
>
> Thanks,
> Ed Knoll
>
> --
> Edward L. Knoll Phone (FedEx) : (719)484-2717
> e-mail (FedEx) : [EMAIL PROTECTED]
> e-mail (personal) : [EMAIL PROTECTED]
--
Edward L. Knoll Phone (FedEx) : (719)484-2717
e-mail (FedEx) : [EMAIL PROTECTED]
e-mail (personal) : [EMAIL PROTECTED]