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
1
vote
3 answers

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:
PeerBr
  • 675
  • 1
  • 11
  • 26
1
vote
3 answers

Automatically generate graphical documentation for XSD like XmlSpy does

I would like to generate a graphical documentation of some XSD files (XML schema definition). I know, there are a few projects that do a good job generating a textual documentation. But I use XmlSpy and I really love the tree that I get when I click…
Stefan Bormann
  • 643
  • 7
  • 25
1
vote
1 answer

XQuery Update Data

I am trying to update some XML data using XMLspy. Here is the data I have... 30 9 27
Nicholas Mordecai
  • 859
  • 2
  • 12
  • 33
1
vote
1 answer

XML Signature DigestValue is invalid

I am trying to sign XML file with PHP and xmlseclibs. However all validation tools say that my signature is invalid. XMLSpy says: "The calculated digest value doesn't match the digest of reference" This is my XML: x This…
Robert Zrinski
  • 134
  • 2
  • 7
1
vote
1 answer

Adding namespace to single element doesn't conform to xsd

All I want to do is add a single namespace to a single element, S_NO, but I can't figure it out. Help would be appreciated. I keep getting errors when I add prefixes and stuff on the element. It won't recognise the element that is called within…
izzypod5
  • 110
  • 3
  • 13
1
vote
1 answer

XSD in Altova XMLSpy 2014: Why can I use an abstract type in a concrete element?

In Altova XMLSpy 2014, I have a XSD document that defines: An abstract type, "t_abs". A concrete type, "t_con", defined as a sequence of elements, and one of the elements is defined as type "t_abs". An element (instanciable), "e_con", defined of…
freesoft
  • 1,114
  • 3
  • 17
  • 26
1
vote
0 answers

Altova XMLspy 2014: Multi-line xpath in XSD 1.1 assertions

In Altova XMLspy 2014, in a XSD 1.1 document, if I add an assertion, I can insert a XPATH 2.0 expresion for the "test" atribute of the assertion, but only ONE line is shown. How can I enter a multi-line xpath in an assertion? Of course, I can enter…
freesoft
  • 1,114
  • 3
  • 17
  • 26
1
vote
1 answer

How do we build/assemble test data for large XML schema?

How do we build/assemble test data for large XML schema? We need to build test data for complex nested XML schema (xsd). We like to build the test data for each embedded XSD separately and like to assemble in the defined sequence of main XSD. We are…
1
vote
1 answer

Does XMLSpy integration package work with Visual Studio 2012

I recently acquired XMLSpy 2013 and was naturally excited to see there was a Visual Studio integration package. I'm running VS 2012, but nowhere on Altova's download page does it mention compatibility requirements/limitations. So I followed the…
Bensonius
  • 1,501
  • 1
  • 15
  • 39
1
vote
2 answers

How to create SimpleType enumeration with xmlspy in schema?

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")…
Hugues Van Landeghem
  • 6,755
  • 3
  • 34
  • 59
1
vote
2 answers

Print the tree of XML using XSL

I've the following XML 007 -002 --003 ------005
OranginaRouge
  • 35
  • 2
  • 6
1
vote
1 answer

Is it possible in an XSD to xs:redefine the xs:complexType element to require the type attribute?

Goals: Create an XSD where the "type" attribute is required for every xs:element defined in the schema Be able to re-use the redefined http://www.w3.org/2001/XMLSchema in other schemas to force all defined xs:element(s) to require the "type"…
teckno.query
  • 90
  • 1
  • 7
1
vote
1 answer

How to force xmlspy code to write out qualified namespaces on elements?

I have used XmlSpy 2013 to generate program code in Java from a schema. My application basically reads in xml from a file, modifies the xml, and writes it back out to the file. The generated code provides classes and functions to do the…
JasonK
  • 361
  • 5
  • 15
1
vote
1 answer

How to Batch Update XML files

I have a bunch of XML that all conform to the same schema. A particular element I want to batch edit only occurs exactly once each of the XML files and has an identical xPath in each of these files. e.g. /Valid/HeaderInfo/SoftwareID I want to…
smk081
  • 783
  • 1
  • 10
  • 36
1
vote
2 answers

XSLT : how to ignore xml validation

I have an XML file , which is not well-formed. ( it is basically a DHTML file used as a part of content tool , most of the html tags are not ended ). Now this XML file is something that our team does not have any control over. It comes from…