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

Identifying output from the (MS) xml parser

Subject: Identifying output from the (MS) xml parser
From: "Hugh Dixon" <hugh.dixon@xxxxxxxxxxxxxx>
Date: Tue, 10 Dec 2002 14:33:41 +1100
 Identifying output from the (MS) xml parser
I am writing some C++ code to run under windows, using the MSXML DOM
implementation.
My user supplies both xml and xslt input.
The input may generate a new xml document, or a flat file.
I am trying to determine what comes out of the ms parser.  
Could someone(s) please advice me of the accuracy, or otherwise, of the
following statements?

I believe the output from the parser must be one of the following:
A result tree;
A wide (Unicode) string;
An ASCII (8bit) string;

I believe which of these is produced will be determined by the
<xsl:output> element.
Do I have to interrogate the style sheet to find this information?

If so, can I assume that the <xsl:stylesheet> element is the second node
in the xslt tree, or at least a top level element?

I believe the <xsl:output> element can only be a direct child (topmost
element) of the <xsl:stylesheet> element.  Could someone confirm this?

If the output method is "xml" or "html" the output must be a result
tree/xml document.

I have also seen an attribute of <output> called media-type, but have
not been able to find any documentation on this.  Can anyone comment on
this?

If the <output> "method" is neither "xml" not "html", then I assume the
output is a character stream.  Whether this uses 16 bit or 8
bit/multibyte characters will depend upon the "encoding" attribute.  Is
there a concise list of the "encoding" values that result in characters
of a particular size, or some other way to determine this information?

Thanks!!!

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.