[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Sorting network addresses


Subject: Re: [xsl] Sorting network addresses
From: Craig W <codecraig@xxxxxxxxx>
Date: Wed, 2 Mar 2005 10:26:06 -0500

Well thanks for all the help...didnt expect so many replies but it was
very helpful.  I am not concerned about having the inline DTD, I can
work with an external one as you mentioned.

Thanks again!


On Wed, 2 Mar 2005 10:09:48 -0500, Craig W <codecraig@xxxxxxxxx> wrote:
> 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
> 


-- 

http://www.codecraig.com
http://jroller.com/page/codecraig


Current Thread
Keywords