|
Article Excerpt For this month's column I thought I'd share some of the real-world questions we've received over the past year from our "Ask the Xperts" forum on Infoteria's Web site (www.infoteria.com). These problems range from XSLT recursion, B2B implementations, DOM, SAX, JDOM, and UDDI to Web services using XML technologies. I've included some of my favorites from the thousands of questions we've received.
Q: I'm transforming XML data to HTML. When I use Infoteria's iXSLT to do transformations, it leaves the XML declaration string. Why?
A: By not specifying the output e method using , you're telling the processor to output XML by default. In accordance with the XSLT 1.0 Recommendation, an XSLT processor is required to provide the XML declaration in the output if it's provided in the input XML source. The following is from the XSLT 1.0 Recommendation:
The default for the method attribute is chosen as follows. If
* the root node of the result tree has an element child,
* the expanded name of the first element child of the root node (i.e., the document element) of the result tree has local part html (in any combination of upper and lower case) and a null namespace URI,
* and any text nodes preceding the first element child of the root node of the result tree contain only whitespace characters,
then the default output method is html; otherwise, the default output method...
|
|

More articles from XML Journal
Building Web Services with Java: Making Sense of XML, SOAP, WSDL, and ..., February 01, 2002 Updated DocExpress adds XML links. (XML News).(Brief Article)(Product ..., February 01, 2002 Schema-based spec for business reporting finalized. (XML News).(Brief ..., February 01, 2002 BusinessObjects Developer Suite 5.5 unveiled. (XML News).(Brief Articl..., February 01, 2002 Sun introduces Java XML pack. (XML News).(Brief Article)(Product Annou..., February 01, 2002
Looking for additional articles?
Search our database of over 3 million articles.
Looking for more in-depth information on this industry?
Search our complete database of Industry & Market reports by text, subject, publication
name or publication date.
About Goliath
Whether you're looking for sales prospects, competitive information, company
analysis or best practices in managing your organization,
Goliath can help you meet your business needs.
Our extensive business information databases empower business
professionals with both the breadth and depth of credible,
authoritative information they need to support their business
goals. Whether it be strategic planning, sales prospecting,
company research or defining management best practices -
Goliath is your leading source for accurate information.
|
|