Re: Developing XSL transformations

Dave Pawson <[email protected]>
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
At 15:05 27/09/2002, Jai Jeffryes wrote:


>I think I would like to use PSGML for creating XSL documents.  Is this a good idea or not?

Yes/no.
emacs yes, psgml no.
   Use tony Grahams package. Works a treat.



>When I'm inserting HTML tags, I would like to use the menus and/or keystrokes to insert HTML elements.

Ah. Not really, you have to remember that bit... Not too hard?

>  However, the high level document isn't an HTML document, it's an XML document, so that isn't available.  
>Furthermore, I don't have a DTD for xsl:stylesheet, so parsing doesn't work anyway.

Nor will it. The non xslt stuff could be in any namespace/vocabulary?




>For HTML to work, I suppose there's a hack whereby I could call the whole thing an HTML file until I'm done developing, and then change the doctype to XSL. 


<grin/> Too hacky.

> I do have the parsing working for HTML files (got xhtml dtd's and a catalog).  I think I was hoping that I could switch back and forth between two modes, one that would parse my XSL document, and another that would would allow me to insert HTML tags.  Transformations are kind of a twisty concept!

<grin/> Just a bit.

How about, do the transform, load the output, then use psgml to
validate that? Then tweak the stylesheet to get what you need?




>I'm just getting started with XML, XSL, and PSGML.  I would appreciate any pointers about where I should look next for what I'm trying to do.


For xslt, Wrox books, Michael Kay. 
  For psgml?  Here? Lennart still leads the way for xml editing (MHO).
I keep trying to better it, but can't.

HTH DaveP




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.