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

Pecision

Subject: Pecision
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Wed, 3 Feb 1999 14:44:14 -0500
pecision
Hi,

According to xml specs and latest XSL specs, to produce SGML documents as
output from a XSL style: If the SGML entity has no open omitag, then the
begin end end tag could be inseted as is in a template, otherwise, if a SGML
element has only an open omitag (no ending tag) then the XSL interpreter
would consider this a a bad formed document and generate an error. Thus, to
include SGML elements having an open ended omitag I would need to enclode
the SGML element with: <![CDATA[<tbody> bla bla...]]>. <!ELEMENT tbody -o
etc... >

According to the note in section 2.2 of the XSL specs I can even produce
other text based output as long as it conform to a well formaed XML
document. Thus to create a Tex output document I would use CDATA again like
in the follwing example:

.....
.....
<xsl:template match="para">

<![CDATA[\def\sectionCM#1{\section{\usemenu{document-menu}{\sf\color{yellow}
#1}}}]]>
      <xsl:apply-templates/>
  </xsl:template>

Do I interpret well the specs in their actual state?

Regards
Didier PH Martin
mailto:martind@xxxxxxxxxxxxx
http://www.netfolder.com


 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.