Is there any particular reason why we are not allowed to use elements as
content for HTML attributes ? I perfectly understand this limitation if
XML is chosen as output, but why impose it for HTML ?
One more twist to the problem: What happens if the name of the localized
resource itself (resName)
Please note that JDK1.4 has Xalan embedded in it.
If you have JDK 1.4 installed, Xalan classes are in
/jre/lib/rt.jar.
Maybe that's why.
Julio
- Original Message -
From: "John Nikolai" <[EMAIL PROTECTED]>
To: "Tim Cronin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April
Thanks for the help, this does solve the problem. The FAQ talks about
setting up Java 1.4 but fails to mention anything about setting up
Tomcat. It might be worth while adding another question to the FAQ...
Thanks,
- John
On Thursday, April 3, 2003, at 02:07 PM, Tim Cronin wrote:
the xalan ja
the xalan jar should be in the $CATALINA_HOME/common/endorsed as well.
http://xml.apache.org/xalan-j/faq.html#faq-N100CB
-Original Message-
From: John Nikolai [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 4:09 PM
To: [EMAIL PROTECTED]
Subject: Tomcat and Xalan...
I'm having
I'm having problems getting xalan-j_2_5_D1 working with my tomcat
4.1.18 installation. I have combed through the archives and found some
possible solutions which I have implemented:
- I'm using jdk 1.4.1 and have placed xalan.jar, xercesIml.jar and
xml-apis.jar into the $JAVA_HOME/lib/endor
SORRY; I completely misread the question!
(I should learn not to fire from the hip when short on sleep.)
The problem you're having is that attribute
contents are expected to be text, not elements. XSLT won't let you insert
the results of xsl:element (or even a literal result element) inside an
x
Note that your example *was* wrong as
you showed it to us -- you had double quotes inside an attribute also quoted
with doublequotes, and you'd forgotten to close the attribute quoting.
That's what caused me to immediately jump to the wrong answer; I saw the
nesting problem and didn't read further
see
http://java.sun.com/products/jsp/syntax/1.2/syntaxref12.html
http://hotwired.lycos.com/webmonkey/01/22/index3a_page3.html?tw=programming
-Original Message-From: Joseph Kesselman
[mailto:[EMAIL PROTECTED]Sent: Thursday, April 03, 2003 3:29
PMTo: [EMAIL PROTECTED]Subject: Re: U
/>
This is a valid JSP construct
That may be valid JSP -- but it isn't
valid, or even well-formed XML. To produce it, you'll have to set
your stylesheet to output in text mode, and hand-construct all the appropriate
syntax. Or come up with some other syntax which can be generat
Hi everybody,
I am trying to generate a HTML+JSP page using Xalan but I cannot go around
a TransformerConfigurationException: "xsl:element is not allowed in this
position in the stylesheet!". What I am trying to generate is a construct
in the form:
/>
This is a valid JSP construct which runs f
My problem seems to have been caused by using the wrong version of
Xalan with the right version of Xerces. (I had upgraded to Xalan
2.5.D1 -- rather than 2.4.D1, as I said in my mail -- and got confused
and was using 2.4 Xalan with Xerces 2.3.0). It all seems to be fine
now.
Sorry, JonTom
I tried this in Xalan 2.4.1, and it worked fine. I'm not sure
whether this is the same as your version. Using the -v option, I
get:
>>> Xalan Version Xalan Java 2.4.1, <<<
Anyway, are you using JDK 1.4? and have you setup the endorsed
directories properly?
(see http://xml.apache.org/
I just upgraded to Xalan 2.4.D1 and I am getting errors on my
stylesheets, which worked fine with previous versions.
The errors seem to be focused on the entity definitions we have at the
top of our stylesheets. For instance, if I try to run the following
stylesheet --
]>
http://w
>cannot
to put a '%' character anywhere within my XSLT without xalan complaining
about it.
As I remember it, % isn't a reserved
character in XSLT... so you shouldn't be having a problem unless you're
putting it in places where it breaks the XML syntax. You might want to
post a ten-line example d
<[EMAIL PROTECTED]> wrote:
> it is possible to transform xml (and a stylesheet) directly with
> xalan into rtf? Or have I to use another converter (for example fop)?
Possible? Probably. A stylesheet can be told to output text, so you can
build things up character by character.
Easy/efficient? Pr
>I have a tranform problem. The input document contains '%' signs to delimit
>things and I need to detect them and do stuff.
>I cannot to put a '%' character anywhere within my XSLT without xalan
>complaining about it. There doesn't seem to be an
>entity I can use.
Theres nothing special abou
Title: Message
Hi
all,
I have a tranform
problem. The input document contains '%' signs to delimit things and I
need to detect them and do stuff.
I cannot to put a
'%' character anywhere within my XSLT without xalan complaining about it.
There doesn't seem to be an entity I can use.
hello! it is possible to transform xml (and a stylesheet) directly with
xalan into rtf? Or have I to use another converter (for example fop)?
suse
18 matches
Mail list logo