Re: [xsl] Sorting network addresses

Subject: Re: [xsl] Sorting network addresses
From: Craig W <codecraig@xxxxxxxxx>
Date: Wed, 2 Mar 2005 10:09:48 -0500
So i would have to write the DTD to  file, then in my XSLT add

<xsl:output doctype-system="myDTD.dtd" /> 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.


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:
> ________________________________________________________________________


Current Thread