[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Well-formed Blueberry
> 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. But the XSLT result tree building is explitly designed so that it is (theoretically) possible to linearise the result tree as you go (unlike the input tree, which you pretty much have to have in memory). This for instance is the reason why you can not add attribute nodes to an element after you have added any content, to do so would require backing up the serialisation. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|