[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Sorting network addresses
So i would have to write the DTD to file, then in my XSLT add <xsl:output doctype-system="myDTD.dtd" /> ...so theres no way to add an inline DTD? I guess I could generate the transformed XML file, then read in that file, insert the dtd string to the top of it and re-write the file....but that seems strange. I really cant use an external DTD....well, maybe for what I am doing i dont have to have it. -craig On Wed, 2 Mar 2005 15:02:50 GMT, David Carlisle <davidc@xxxxxxxxx> wrote: > > doctype-system="whatever.dtd" > attribute on xsl:output will generate an external dtd > reference > > <!DOCTYPE networks SYSTEM "whaever.dtd"> > > xslt offers no standard way to generate an internal subset, but this > isn't really any loss you can put whaever eleemnt declarations you need > in an external dtd file. > > saxon has an extension element to generate internal dtd subsets if you > need to decide at runtime which declarations you need, but that is a > rather rare requirement. > > Or if all else fails you can use disable-output-escaping if your system > supports that (but using d-o-e is evil and should be avoided) > > David > > ________________________________________________________________________ > This e-mail has been scanned for all viruses by Star. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ________________________________________________________________________ > > -- http://www.codecraig.com http://jroller.com/page/codecraig
|
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
|