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

How do I create a XSLT referencing DTD's with ?,+,*

Subject: How do I create a XSLT referencing DTD's with ?,+,*
From: "K. D." <mail2dennis2@xxxxxxxxx>
Date: Sat, 26 Apr 2003 10:17:48 -0700 (PDT)
how to create an xslt
Thank you in advance for your help.  I am very
confused on how to build a XSLT stylesheet that
converts a document validated by a DTD with ?,+, and
*'s (like the enclosed example) from XML format to
publishable HTML.  Any ideas?  I know "report" is the
document element, but get stuck after that.   

<!ENTITY % BLOCK "(PARA|LIST)+">
<!ENTITY % BODY "(%BLOCK;|EXAMPLE|NOTE)+"> 
<!ENTITY % TEXT "(CODE|KEYWORD|QUOTATION)*"> 

<!ELEMENT REPORT (TITLE,(SECTION|SHORTSECT)+)>
<!ELEMENT SUBSECTION (TITLE,%BODY;,SUBSECTION*)>
<!ELEMENT SECTION (TITLE,%BODY;,SUBSECTION*)>
<!ELEMENT EXAMPLE (TITLE?,%BLOCK;)>
<!ELEMENT SHORTSECT (TITLE,%BODY;)>
<!ELEMENT LIST (ITEM)+>
<!ELEMENT TITLE %TEXT;>
<!ELEMENT ITEM (%BLOCK;)>

<!ELEMENT CODE (#PCDATA)>
<!ELEMENT KEYWORD (#PCDATA)>
<!ELEMENT QUOTATION (#PCDATA)>
<!ELEMENT PARA (#PCDATA)>
<!ELEMENT NOTE (#PCDATA)>

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.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.