[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

error in XSL file when using JAXP

Subject: error in XSL file when using JAXP
From: Rahil <qamar_rahil@xxxxxxxxxxx>
Date: Thu, 28 Jul 2005 11:26:28 +0100
jaxp xsl 2.0
Hi

Im using JAXP to pass the source XML and XSL file to perform the transformation task in Java.

However, I get an error in one of the 'next-in-chain' XSL files which I cant understand, as I do not receive this error when I run my transformation from the XSL Editor.

The error is :
------------------------
Error at xsl:for-each on line 162 of file:/D:/Coding/Samples/Final/CanonicalMapping1.xsl:
Effective boolean value is not defined for a sequence of two or more items starting with
an atomic value
------------------------


Line 162 in the said file is :
-----------
///CanonicalMapping1.xsl /////
<xsl:for-each select="$ont/SubConcepts/SubConcept">
//first line of file///
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://saxon.sf.net/">
------------


which looks in-part as such:
----------
///OntFile.xml ($ont) ////
<Top>
<PrimeConcept id="10180" type="none"/>
<SubConcepts>
<SubConcept id="10279" name="Headache">
<Value type="TEXT" ref="10211">hasLocation Forehead</Value>
<Value type="TEXT" ref="10237">hasSymptomCharacter PainSymptomCharacter</Value>
</SubConcept>
<SubConcept id="10237" name="PainSymptomCharacter">
<ChildConcept ref="10236">HeadacheCharacter</ChildConcept>
</SubConcept>
<SubConcept id="10215" name="TemporalPattern">
<ChildConcept ref="10214">MealPattern</ChildConcept>
<Value type="TEXT" ref="10219">hasAbsoluteState intermittent</Value>
</SubConcept>
--------------
Im using an XSLT2.0 processor.


Would appreciate any help with this problem.

Thanks
Rahil

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.