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

Reading the DocType in XSL

Subject: Reading the DocType in XSL
From: Gary Lawrence Murphy <garym@xxxxxxxxxx>
Date: 20 Feb 2003 12:52:12 -0500
doctype in xsl
I've poked about in google, but the nature of the terms makes this
a hard one for robots to find:  Is it possible for XSL to detect the
SystemID given in the <!DOCTYPE> tag?

This maybe something that is processor-specific, but it seems odd that
I can read comments but I cannot find any reference to XSL making use
of the DOCTYPE information -- we have an application where we'd like
to have modular shared stylesheets where we can apply the same root
XSL to the XML (like fo/docbook.xsl) but have modules selected and
configured depending on DOCTYPE attributes (eg the DocBook version)

(our application is actually SportsML, so the DocBook analogy may not
be perfect ;)

Is there a way to make the System or Public ID known inside the XSL?

-- 
Gary Lawrence Murphy - garym@xxxxxxxxxxx - TeleDynamics Communications
   - blog: http://www.teledyn.com/mt/ - biz: http://teledyn.com/ -
  "Computers are useless. They can only give you answers." (Picasso)

 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.