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

Re: `High-level' format specifications with XSL?

Subject: Re: `High-level' format specifications with XSL?
From: Kai Grossjohann <grossjohann@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: 09 Jul 1998 12:45:48 +0200
Re: `High-level' format specifications with XSL?
>>>>> "Kent Fitch" <kent.fitch@xxxxxxxxxxxx> writes:

  > Sorry - the XSL I just posted assumes a "wrapper" element around
  > the <project> and hence won't produce what you want as is - MSXSL
  > has a quirk which means it insists on just one root object, so I
  > am accustomed to always enclosing the input document with
  > <xml>...</xml> (or any other tag pair such as <doc>...</doc>.

If I'm not mistaken, that's not a `quirk'.  It's a consequence of the
XML standard.  (At least in SGML, a document is exactly one element
(possibly preceded by an SGML declaration and stuff), so I presume
that this rule carries over to XML as well.)

  > In this specific case, you could merge the "project" processing
  > into the xsl root rule or you could add a wrapper element and
  > leave the xsl unchanged.

My `wrapper' element is `project'.

Sadly, I can't use MSXSL as I don't have Windows.

kai
-- 
You ate somebody? -- Just a leg. -- That's terrible! -- Not with mustard.
(Terry Pratchett: Interesting Times)


 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.