Re: [xslt] entity processing from an extrenal dtd
- From: sporty <spa3 sporty org>
- To: xslt gnome org
- Subject: Re: [xslt] entity processing from an extrenal dtd
- Date: Thu, 30 Aug 2001 17:24:15 -0400
On Thu, Aug 30, 2001 at 04:27:27PM -0400, Daniel Veillard wrote:
> On Thu, Aug 30, 2001 at 04:05:57PM -0400, sporty wrote:
> > > Your XSL stylesheet don't include your document DTD (and should not
> > > in any case). That entity definition is not available to the stylesheet.
> >
> > no way of moving it into the dtd or even the xsl files? it'd be annoying to put it int he xml files themselves....
>
> An XSLT stylesheet is an XML file. You can define entities in them.
> Put them in the internal subset (if you don't understand I suggest you
> read some documentation about XML and DTDs).
Well, my XML file that contains all the data is seperate from my XSLT stylesheet. my DTD is also in a seperate file. Problem is that even though the ENTITY's are defined in my DTD, when i run it through xslproc, it swears the ENTITY's aren't defined and thus doesn't process them.. It finds all the ELEMENT's and ATTLIST's fine.
the command i'm using is
xsltproc product.xsl documentation.xml
documentation.xml points to my external dtd which contains the ENTITY. Its not respecting it for some odd reason.
>
> Daniel
>
> --
> Daniel Veillard | Red Hat Network http://redhat.com/products/network/
> veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
> http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
>
> _______________________________________________
> xslt mailing list
> xslt@gnome.org
> http://mail.gnome.org/mailman/listinfo/xslt
--
--
It's an awful truth that suffering can deepen us, give a greater luster to
our colours, a richer resonance to our words. That is, if it doesn't
destroy us, if it doesn't burn away the optimism and the spirit, the capacity
for visions, and the respect for simple yet indispensable things.
- Anne Rice, "Queen of the Damned"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]