ruby on rails - xsl:attribute: Cannot add attributes to an element if children have been already added to the element -


I have this XML:

I try to apply it I am doing this xls:

Use of this gem:

I am getting the following error: < / P>

  runtime error: file style .xsl line 209 element attribute xsl: attribute: can not add attributes to elements if children are already added to the element.  

I'm not sure its a That means, when I see XML link from Firefox and XSL Sheet, it renders correctly.

A shot in the dark, but this line can be 1 9 7 :

  1 9 6:  197:  |  198: & lt; xsl: each selection =" @ * "& gt;  

You are adding elements in the text before setting the attributes later. Because & lt; Xsl: if & gt; Block?


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -