|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: General, possibly F.A'd, Question
Lee Goddard wrote: > I've developed an XML DTD and have been asked to develop a > stylesheet that will display the document in several ways, > including as PROLOG source. This will involve displaying > element attributes, and never element contents (that was > my brief....). Is this possible? ... Does "the document" here refer to the DTD or to the conforming XML document? And PROLOG - as in the language (interesting...) or as in the XML prolog? In general XSLT can't read DTDs since they don't use normal XML syntax. However, get yourself a tool (such as XML Spy, I hear) that converts your DTD into XML Schemas - which *do* use XML syntax - and you're cooking with gas. Showing attributes but not elements is perfectly possible in XSLT, for a start. OTOH, if you are talking about working from the raw DTD you might be better off with Perl, IMHO. Francis. -- Francis Norton. Defy Convention? Deify Convention! XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








