Questions tagged [xmlspy]

Altova XMLSpy is an advanced XML editor with support for XML Schema, XSLT, XPath, XQuery, WSDL, SOAP, XBRL, JSON, and more.

Altova XMLSpy is an XML editor for modeling, editing, transforming, and debugging XML-related technologies. It offers a graphical schema designer, a code generator, file converters, debuggers, profilers, database integration, support for XSLT, XPath, XQuery, WSDL, SOAP, XBRL, JSON, and Office Open XML (OOXML), Visual Studio and Eclipse integration, and more.

95 questions
2
votes
2 answers

XQuery Most Recent Order for Each Customer

I am trying to use Altova XMLSpy and XQuery 1.0 to return the most recent order for each customer. In SQL the query is like this: SELECT `Order ID`, `Customer ID`, `Employee ID`, `Order Date` FROM Orders AS O1 WHERE `Order Date` = (SELECT…
dinkydani
  • 151
  • 9
2
votes
6 answers

how to select an element within a specific namespace?

I'm having trouble selecting elements that are part of an specific namespace. My xpath expression works in XMLSpy but fails when using the Xalan libraries.. VALUE
TChen
  • 51
  • 3
1
vote
1 answer

XSD/XML validation using XMLSpy 2012

Every time I try to validate the below xsd file using XMLSpy 2012, I get the following error: 'Credentials' must refer to an existing type. I'm sure it's something stupid I'm doing but I just don't see it. Thanks.
Don Bouchard
  • 69
  • 2
  • 7
1
vote
2 answers

Why do I get different output running xslt?

I am doing a very simple xslt for a source node like:

Logging in Canada Logging is cutting down trees for

Kevin
  • 6,711
  • 16
  • 60
  • 107
1
vote
2 answers

XMLSpy Validator

What XML validator does XMLspy uses? I am running into an issue that I can validate an XML file against the schema using Oxygen but yet it is not valid when I use XMLSpy! does anyone has any general thoughts regarding this? Thanks a lot :)
tigris
  • 107
  • 1
  • 8
1
vote
1 answer

XmlSpy: memory leaks in auto-generated xml parser

I generated a C++ xml parser using Altovas XmlSpy 2011R3 SP1. The parser is based on Xerces 3.1 and used as a dynamic link library with MFC support. I'm getting memory leaks inside xerces just running the example generated with the altova parser…
nabulke
  • 11,025
  • 13
  • 65
  • 114
1
vote
2 answers

Generating XML file from XSD causes unwanted prefix on root node

I am using XML spy to automatically generate an XML file from an XSD. However, it always seems to prefix my root element with n1: or n2: e.g. it would generate something like to following
mh377
  • 1,656
  • 5
  • 22
  • 41
1
vote
1 answer

how to change the browser of Altova XMLSpy to Chrome / FireFox / etc?

Does anyone here uses Altova XMLSpy? Whenever i do F10 it will take an input XML and an input XSL and give me an output in the window itself (Altova XMLSpy's own browser) So basically how do i set the browser to use like "Chrome" or "FireFox"? If…
Troy
  • 101
  • 5
1
vote
1 answer

Mixed and restricted element fails validation with Xmlbeans

while working with Xmlbeans, I have noticed that when an element is defined as a restriction from a mixed type, if there is some text in this element the Xmlbeans validation fails.However the same xml file is valid if I run it against schema…
rosinc
  • 33
  • 3
1
vote
2 answers

XMLSpy in Eclipse

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.
blackbox
1
vote
1 answer

JSON Schema draft v7 - definition of additional enum properties based on common enum type selection - testing in XMLSpy Pro 2020

I am trying to define a json schema which has a common enum type for a number of objects and then depending on which enum is selected, define the possible combinations of enums and also additional elements that are needed. The example has…
bluesky
  • 150
  • 1
  • 1
  • 11
1
vote
2 answers

How to remove unused types in flattened xsd?

So, my issue is the following. I have a XSD file that has an include at the top for another schema. That included schema has another dependency, and so on for a few more files. I decided it would be easier to flatten the xsd file into a single…
shelbaz
  • 87
  • 2
  • 11
1
vote
1 answer

DTD ignored when XSD is also specified?

When specifying both a DTD and XSD for an XML document, validators seem to validate against the XSD and ignore the DTD completely. I've verified this in XMLSpy 2018sp1 and Xerces' StdInParse tool. The standard use case for this is that there is an…
Phil
  • 592
  • 6
  • 15
1
vote
1 answer

xslt expects element instead of xsl:for-each

Since I am a beginner in xslt/xsd-programming, I am using XMLSpy to create a xml2xml transformation. For both xml I have got a xsd. Unfortunately, the following code piece is not valid.
F. Hall
  • 33
  • 1
  • 4
1
vote
1 answer

Name and number of arguments do not match any function signature in the static context - XQuery

I am trying to return a string, but somehow this function just wouldn't compile. I am a bit lost! declare function local:findValue($vrf as xs:string?, $namefirst as element()*, $schoolfirst as element()*, $namesecond as element()*, $schoolsecond as…
hell_storm2004
  • 1,401
  • 2
  • 33
  • 66