Alas, there is no -version option, so I don't know
what version I am using.  As far as I know, it is the
version which came with Xerces-J 1.4.3.  

I noticed something interesting after I sent my original
message.  When I have no META tag at all none gets added.
But when I add one of my own, it gets changed (the order
of attributes gets changed).

For example, my top level template specifies the following
as literal text to place in the result:

<HTML>
  <HEAD>
    <TITLE>...</TITLE>
  <HEAD>
  <BODY>
  .....
  </BODY>
</HTML>

In this case, I get no META tag added to the HEAD element.
However, if I place a META tag of my own in the stylesheet,
such as:

<HTML>
  <HEAD>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <TITLE>...</TITLE>
    
I end up with:

<HTML>
  <HEAD>
     <META content="text/html; charset=utf-8" http-equiv="Content-Type">
     <TITLE>...</TITLE>

So the META tag is getting handled by XSLT, but not added when none
exists.

Brian

[EMAIL PROTECTED] wrote:
> 
> Which version of xalan are you using? This should work!
> 
> Myriam

-- 
Brian Atkins          [EMAIL PROTECTED]         (970) 288-2114
Agilent Technologies     4800 Wheaton Drive        Ft. Collins, CO 80525

Reply via email to