OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

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

RE: Well-formed Blueberry

At 4:59 PM +0200 7/13/01, Julian Reschke wrote:
>Although I like the idea of not producing "blueberry" when "1.0" would have
>done: how would you *produce* these documents?
>For instance, how would an XSLT processor whether certain name characters
>will appear later in the output or not?

An XSLT processor is a tree-to-tree transformation. The XML declaration is not part of the tree. It is produced only as part of the final, optional serialization of the document. Assuming the Blueberry declaration is part of the XML declaration, it would not be chosen until the entire output tree was available for inspection so that the presence or absence of Bluebbery characters could be definitively ascertained. 

| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      | 
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |