ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle Adams" <>
Subject RE: XML, XSL, and Ant
Date Wed, 22 Oct 2003 12:45:06 GMT

Kyle Adams | Java Developer  |  Gordon Food Service  |  616-717-6162
>>> 10/21/03 20:17 PM >>>
Somewhere, like my-style.xsl, there is a declaration of the xsl namespace?
<xsl:stylesheet version="1.0" xmlns:xsd=""

Ah yes - good point.  In simplifying my stuff for posting, I simplified the namespace declaration
right out.

Below is the corrected stylesheet:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY templates PUBLIC "Snap Template Index" "file:index.ent"> ]>

I'm having two, separate problems, the first one being the more serious of the two:

1) Getting the external entity to resolve using <xmlcatalog> on the <style>. 
Does the <xmlcatalog> only apply to the source XML file, or does it also apply to the

2) Getting warnings "Element type 'xsl:xxxxx' must be declared".  The transformation is still
successful, so my working assumption right now is that these warnings are generated by some
validating feature of Xalan, and that I should be able to turn validation off to eliminate
those warnings.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message