[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: 08 Jul 1998 11:33:46 +0200
msxsl solaris
>>>>> "Kent Fitch" <kent.fitch@xxxxxxxxxxxx> writes:

  > I think you may be able to do what you want with MSXSL as long as
  > you know your input.  However, I think it is impossible to do some
  > things you may think as easy, such as a "null" stylesheet that
  > reads arbitrary input XML and echos it unchanged because there is
  > no way to enumerate attributes of an element (that I know of, but
  > I am happy to be proven wrong).

Does MSXSL work under SPARC Solaris 2.5?  I vaguely remember it being
a Java program, but I'm not sure.

What would an XSL stylesheet look like that does this transformation?

Assume a simple DTD:

,-----
| <!element project - - (projecttitle)>                                   
| <!element projecttitle - - (#PCDATA)> <!-- not sure about the parens -->
`-----

And assume I want to transform

,-----
| <project><projecttitle>Project Foo</projecttitle></project>
`-----

into

,-----
| <html> 
|   <head><title>Project Foo</title></head>
|   <body><h1>Project Foo</h1></body>
| </html>
`-----

I think I should be able to work from there.

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.