XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Harjit SinghSubject: Error while running an XSL with an XML
Author: Harjit Singh
Date: 27 Sep 2007 11:18 AM
Hi there,

When an run XSL with an XML using saxon 8.0 , I'm getting this error

Error on line 8468 of file:///C:/Documents%20and%20Settings/SinghH/My%20Document
s/FUSS/Int-TestFiles/NMA4.Readonly.FMS.xsl:
XTDE0410: Cannot create an attribute node after creating a child of the containing element


Here are the lines from the XSL which its complaining about Line 8468 is the line with the label tag


<td valign="top">
<ins class="output xfiField" id="bnd1ClearingFirm">
<label class="output">Name of Clearing Firm<span class="xfiLabelRequired">
<xsl:if test="f:Settlements/f:SettlementTypes/f:Options/f:Value = 'piggyback'">*</xsl:if>
</span>
</label>
<br/>
<xsl:attribute name="class"><xsl:value-of select="'textboxLong'"/> xfiOutputContent</xsl:attribute>
<xsl:value-of select="f:Settlements/f:ClearingFirm"/>
<!--xfe:attribute class for::field value:'textboxLong'-->
</ins>
</td>

Postnext
James DurningSubject: Error while running an XSL with an XML
Author: James Durning
Date: 27 Sep 2007 04:12 PM
Where exactly do you want this class attribute to be? Right now you have it in the ins element. Just move this attribute declaration before the label element declaration, if that is where you want it.

Postnext
Harjit SinghSubject: Error while running an XSL with an XML
Author: Harjit Singh
Date: 27 Sep 2007 04:35 PM
Not sure what you are saying... Could you please modify the XSL to what you are saying ?

- Harjit

Posttop
James DurningSubject: Error while running an XSL with an XML
Author: James Durning
Date: 28 Sep 2007 04:04 PM
<td valign="top">
<ins class="output xfiField" id="bnd1ClearingFirm">
<xsl:attribute name="class"><xsl:value-of select="'textboxLong'"/> xfiOutputContent</xsl:attribute>
<label class="output">Name of Clearing Firm<span class="xfiLabelRequired">
<xsl:if test="f:Settlements/f:SettlementTypes/f:Options/f:Value = 'piggyback'">*</xsl:if>
</span>
</label>
<br/>
<xsl:value-of select="f:Settlements/f:ClearingFirm"/>
<!--xfe:attribute class for::field value:'textboxLong'-->
</ins>
</td>

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.