xmlspy

Count Xpaths in XmlSpy

I am using XmlSpy to analyze an xml file, and I want to get a quick count of the number of nodes that match a given xpath. I know how to enter the xpath and get the list of nodes, but I am really just interested in the count. Is it possible to get this? I'm using XmlSpy Professional Edition version 2007 sp2, if it matters. ...

XMLSpy in Eclipse

Hi, I need to test XMLSpy functionality in Eclipse. After I switch Eclipse to XMLSpy Perspective and QTP is runnig (record or run mode), it does not work. Could you help me? Thanks. ...

xml comparison

I need to compare two xml chunks: They are semantically equivalent once we see that the "type" attribute is QName and not just a string. Is there a tool that can do such a comparison once I provide the schema? Also, is there such an api? ...

Should example xml in an xsd documentation annotation be escaped?

Lets say I have an xsd schema and I have several <annotation/> elements with <documentation/> elements in them. If I wanted to place example xml in the <documentation/> elements, should I escape the example xml? e.g.: <annotation> <documentation>Example Xml: &lt;element&gt;some text&lt;/element&gt;</documentation> </annotation> o...

How does one use EXSLT modules in XMLSpy?

I'm trying to use the EXSLT modules (specifically, math), in an XQuery document. How do I enable support for this in XMLSpy? Where would I place the downloaded EXSLT libraries to make XMLSpy aware of them? ...

Unbounded element infinity symbol shows as rectangle in XMLSpy

I need to have screenshots of my XSD, and XMLSpy has great-looking and descriptive graphical view of XSD Schema. However, below unbounded elements, it tries to show a little infinity symbol in Arial and fails miserably, displaying small rectangle instead. I've tried changing the font as XMLSpy FAQ suggests, and I've tried using Arial MS...

XMLSpy 2009 Pro Debugger Won't Start

I'm using XMLSpy 2009 to write XSLT 1.0 documents. When I go to XSL -> Start Debugger, it opens the debugging view; however, when I click the Go (green arrow) button a message appears in the bottom of the screen that says "XSLT 1.0 Debugging Error: An error occurred while trying to start the debugger!" Any idea how to get around this? ...

How to create SimpleType enumeration with xmlspy in schema ?

Hi, I'd like to know how to create a SimpleType that is a enumeration with XMLSpy. Do you have link or something useful that can help me ? it's simpletype for country code enumeration AD ("ANDORRA") enumeration AE ("UNITED ARAB EMIRATES") enumeration AF ("AFGHANISTAN") enumeration AG ("ANTIGUA AND BARBUDA") enumeration AI (...

Alternative to Altova's MissionKit

Anyone know of any good alternatives (other than those listed below which really are only good at specific XML development tasks)? The Why (if you're interested): I've been doing XML development on and off for years now, but someone brought XMLSpy to my attention recently, and it is awesome - the price isn't. Lately I've been using a c...

What is allowed in Restricted XPaths (constraints)?

I need to apply constraints in a large XML file, like this: <library> <book> <bookAuthor ID="1" nameAlias="PeerBR jr"/> </book> <book> <bookAuthor ID="1"/> </book> </library> <authorCatalogue> <author ID="1" name="PeerBr"/> </authorCatalogue> I need each bookAuthor's ID to refer to a valid author. ...

XMLSpy ignores "minOccurs"? Why is this XML valid?

Please enlighten me why XML Spy thinks this is valid. FYI, this specifies an SQL query. Here the XML: <sideBar title="LabelSearch"> <searchLabel table="ID=*.companies"> <filter accessRight="r"> <and> <filterElement argument="companies.Type" operator="=" value="Client"/> </and> </filter> </searchLabel> </sideBar>...