xsl-list
[Top] [All Lists]

Re: Re: restructuring element hierarchy using xslt- complications

2003-10-01 06:24:31
The code is displayed correctly here:

http://www.sonicsoftware.com/cgi-bin/dnewsweb/public/dnewsweb?cmd=article&group=xsl-list&item=25614&utag=


=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL


--- Dimitre Novatchev <dnovatchev(_at_)yahoo(_dot_)com> wrote:
For some reason only the resp tag is working (it changes), however, 
levels below that dont change, i doubled checked i copied the code 
correctly?

If you copied the code from:
   
http://aspn.activestate.com/ASPN/Mail/Message/XSL-List/1821323

then you have to correct this:


 <myLevels:myLevels> 
   <level> res</level>
   <level> rol</level>
   <level> prod</level>
 </myLevels:myLevels> 

(a leading space appears before each of the names "res", "rol" and
"prod")

to this:

 <myLevels:myLevels> 
   <level>res</level>
   <level>rol</level>
   <level>prod</level>
 </myLevels:myLevels> 

(the names correctly contain no spaces).


If you copied the source from here:

http://www.biglist.com/lists/xsl-list/archives/200309/msg01227.html

then you have to correct this:

   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";;

(a semicolon appended at the end of the line)

into this:

 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";

(no semicolon -- correct).


I don't know what is the cause for the bugs in these otherwise very
useful
archives.


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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



<Prev in Thread] Current Thread [Next in Thread>