[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: generating numerical character entities in html o

Subject: Re: generating numerical character entities in html output
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 18 Jan 2005 12:36:48 GMT
rtf character entities
> hem, I'm not sure what "linearising" means. :-[

making into a line:-)

In particular the output from an XSLT engine is a tree of nodes with
parent/child relationships etc. The file system on current computers
doesn't really allow such a beasty to be stored so it has to be written
out as a stream of bytes. it's getting from the tree to a stream of
characters that is referred to as linearisation (or serialistaion,
which is the same thing here) in either case it is the opposite of
parsing which is going from the markup in the file to a tree structure.
The fact is that in XSLT the model is that you shouldn't really care
_how_ the tree is serialised (ie what markup tagging is added)
you are just guaranteed that any XML parser that processes teh result
will generate (within defined limits) the same tree that you generated
in the XSL. So if your output is written out using some strange encoding
or with ' instead of " around attribute values or with character
references instead of character data, you shouldn't care so long as
an XML parser generates the correct tree when it reads the stuff back
in.




> so maybe d-o-e doesn't work in msxml, 

It does work if you output directly from the xslt engine but msxml also
allows you to generate an MSXML DOM node as a result, if you do that and
the use DOM commands to output that to a file d-o-e does not work.

I don't use msxml these days but if you show us your calling sequence,
someone will tell you which kind of output you are generating.


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.