[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: your mail
Subject: Re: your mail From: Mike Brown <mike@xxxxxxxx> Date: Thu, 29 Jun 2000 13:28:03 -0600 (MDT) |
> Is it possible to output a byte i.e. any ASCII-character > by using a function as "char(187)"? No. XSLT operates on abstract trees. You can put Unicode (actually, ISO/IEC 10646-1:1993 plus amendments) characters into the result tree via literal specification or character references like » in the stylesheet tree, or by putting instructions or functions in the stylesheet tree that accomplish the same thing ... however this is completely independent from the output/serialization/linearization process, whatever you want to call it. The xsl:output instruction can provide a hint to the XSLT processor as to how to carry out the serialization of the result tree, and the spec dictates behavior for html, xml and text output methods, if the processor chooses to implement them. The actual character-to-byte-sequence encoding process is not something you have much control over, beyond specifying an IANA-registered charset in the encoding attribute of xsl:output. As mentioned in my other email, you're limited in what Unicode characters you can put into an XML document, so this situation makes it nigh on impossible to output arbitrary byte sequences. > Saw this in a posting: > <xsl:output method="html" version="4.0"/> > If version not is stated what is Saxon uotputting? See http://www.w3.org/TR/xslt#output The default value is 4.0. I prefer to put it in my stylesheets even though it is the default. - Mike ____________________________________________________________________ Mike J. Brown, software engineer at My XML/XSL resources: webb.net in Denver, Colorado, USA http://www.skew.org/xml/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re:, Warren Hedley | Thread | Re: Output a byte by number, David_Marston |
Re: Scripts with Saxon, Mike Brown | Date | Number formatting with <xsl:number , Ragnar Schierholz |
Month |