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

Want to process XHTML in my XSL stylesheets.

Subject: Want to process XHTML in my XSL stylesheets.
From: "Edward L. Knoll" <ed.knoll@xxxxxxxxxxxxxx>
Date: Mon, 08 Jul 2002 12:19:23 -0600
knoll process
I am generating three different types of output from an XML input.  One
of those output types is for consumption by a browser and contains
HTML.  The stylesheet which transforms the XML into HTML must itself
generate HTML tags.  I thought it would probably be better if I was to
define those tags as XHTML elements (e.g. <html:br/>) and then convert
those to HTML.  It seemed to me that this would provide better
maintenance, because my embedded (X)HTML would be checked against the
XHTML schema/syntax.

First question: If I have XHTML in an XSL stylesheet, will it be
validiated (e.g. are the XHTML elements in the XSL stylesheet checked
against the XHTML syntax/schema, or does validation only involve the XML
files being processed).

Second question: How do I get the XHTML embedded in the XSL stylesheet
to come out as HTML.  All the examples I have seen are addressing XHMTL
embedded in the input XML being transformed, not in the XSL stylesheet
specifying the transformations.

I suspect this is solvable with a two-pass transformation, but I'm
trying to avoid that.

Ed Knoll

--
Edward L. Knoll   Phone (work)     : (719)484-2717
                  e-mail (work)    : f49660c@xxxxxxxxxxxxxx
                  e-mail (business): eknoll@xxxxxxxxxx
                  e-mail (personal): edward@xxxxxxxxxxx












 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.