This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: <xsl:copy> does not work as expected (xalan 1.1 c++)


I am also using the win32 version of xalan1.1.

Thanks

Gustavo E Tenrreiro

gus@ViaFone.com

work: (650) 413-5565
cell  : (408) 373-8595
home: (408) 225-7097




-----Original Message-----
From: David_N_Bertoni@lotus.com [mailto:David_N_Bertoni@lotus.com]
Sent: Thursday, May 24, 2001 1:39 PM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] <xsl:copy> does not work as expected (xalan 1.1 c++)



Gus Tenrreiro wrote:
> Hi everybody,
>                 I am trying to do something very simple, I just need to
add
> an attribute to a node in my xml file. But to start simple I just tried
to
> make the exact copy of the xml file using <xsl:copy> on each element, but
> the result is not as expected.
>
>  my xml file looks like this:
...
> and this is my xsl file
...
> and this is the output
...
> The form's id attribute disapears, same with the field's name attribute.
> Why??????????

I tried this using the Win32 release of Xalan-C++ 1.1 and got the expected
result:

<?xml version="1.0" encoding="UTF-8"?>
<vxml version="1.0">
  <form id="noname">
   <block>
     <prompt>
         <audio src="http://myMachine/GG010101.au"/>
         <audio src="http://myMachine/GG010102.au"/>
    </prompt>
 </block>
 <field name="Result">
       <grammar src="http://myMachine/.GG_SELECT_TRACK.grammar"; caching
="safe"/>

       <filled>
               <submit next="http://myMachine/run?SESSIONID=11565472";
method="PO
ST" namelist="Result"/>
       </filled>
</field>
 </form>
</vxml>

What platform are you using?

By the way, for Xalan-specific questions, you may want to subscribe and
post to the Xalan mailing list.  See:

   http://xml.apache.org/mail.html

Dave


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]