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
0
votes
1 answer

xQuery Inserting Nodes syntax

I'm using XMLSpy. I'm trying to do a simple xquery insert into an XML document where I insert a node into preexisting node(s); xquery version "3.0"; declare namespace ext="http://www.altova.com/xslt-extensions"; let $mydoc := doc("MyData.xml") let…
rfossella
  • 107
  • 1
  • 3
  • 11
0
votes
1 answer

Copying XML deleting some nodes with XSLT

I know it has been answered before here XSL: how to copy a tree, but removing some nodes?, but I have a more complex XML file and that didn't work very well. This whole XML and XSLT is new for me, and my boss assigned me a task to transform a XML…
fernandopcg
  • 514
  • 6
  • 20
0
votes
1 answer

File not found using EXSLT

I'm trying to start using EXSLT. Here's my base XSL.
dwjohnston
  • 11,163
  • 32
  • 99
  • 194
0
votes
0 answers

XMLSpy behaviour of xsl:copy-of and element set as fixed/qualified in schema

I'm currently using Altova XMLSpy to convert a XML file using a XSLT 2.0 transformation sheet. The problem I'm experiencing is that the source XML has some attributes defined in the schema as "fixed" and "qualified" so after the transformation they…
Vlax
  • 1,447
  • 1
  • 18
  • 24
0
votes
1 answer

Why won't my XML schema element take a number?

In XMLSpy, there is a validation error, "Value '18' is not allowed for attribute 'name'. Hint: A valid value would be 'NCName'. Error location: xs:schema / xs:element / xs:complexType / xs:choice / xs:element / xs:complexType / xs:choice /…
Grafica
  • 369
  • 6
  • 13
  • 27
0
votes
1 answer

Sun Eclipse capabilities with Schema creation

I have two questions that pertian to each other. I have to switch from XML Spy over to Sun Eclipse and there are some things that XML Spy does magically for me that I want to know if Eclipse can handle the same way: Given a sample XML document,…
gary A.K.A. G4
  • 1,013
  • 8
  • 23
  • 36
0
votes
1 answer

XSLT 2.0: Filtering through nodes / text with analyze-string but needing to also grab XML tags

I'm working through my first major XSLT project, and am a bit of a novice, so please be patient with my ignorance. Our group is working on a transform of existing XMLs to an entirely different tagging system. I have devised a system of processing…
0
votes
2 answers

XQuery XmlSpy delete

I'm attempting to delete an XML node through XQuery using the in-build XQuery compiler in Altova XMLSpy. xquery version "1.0" encoding "UTF-8"; for $customer in doc("Customers.xml")/dataroot/Customers where $customer/CustomerID = "ALFKI" return…
0
votes
1 answer

Why java2wsdl from axis2 produce not valid wsdl

Why java2wsdl from axis2 produce wsdl not validated by Altova XmlSpy? I got error attribute 'part' in extensibility element '' refers to part 'myMethod' which could not be found in message 'myMethodRequest' Error location:…
qwazer
  • 7,174
  • 7
  • 44
  • 69
0
votes
1 answer

xquery include xml file name

I have the following code snippet in XMLSPY which runs properly: xquery version "1.0"; { for $r in /reviews/review return $r/reviewer } How do I include xml filename in xpath, something as abc.xml/reviews/review ??
aditya parikh
  • 595
  • 4
  • 11
  • 30
0
votes
1 answer

XQUERY for loop and html

I have the following XQUERY code in XMLSPY which runs fine. xquery version "1.0"; { for $re in distinct-values(reviews/review/reviewer) for $r in reviews/review where $re=$r/reviewer return …
aditya parikh
  • 595
  • 4
  • 11
  • 30
0
votes
1 answer

access Nth node from xpath result set

Possible Duplicate: Get Nth child of a node using xpath How can I access Nth node from the following set. XPath = /ProcessData/*[starts-with(name(), 'INV')]
Azeem
  • 2,904
  • 18
  • 54
  • 89
0
votes
1 answer

Altova XMLSpy auto indent after XSLT

what i did was to open a ABC.xml file and performing XSLT on it by pressing F10 in Altova XMLSpy. An XSL Output.xml is generated, and the results is pretty messed up, i.e. much of the code is in 1-2 lines as all tags are not indented automatically,…
bouncingHippo
  • 5,940
  • 21
  • 67
  • 107
0
votes
1 answer

Xslt : Create root element (Starting Tag )dynamically

Following are the nodes in XML Data "http://webser.part.site" nida 123 I have passed this node value to Xslt Service now i have this url NODE value in…
Azeem
  • 2,904
  • 18
  • 54
  • 89
0
votes
1 answer

Xslt : Create a namespace dynamically

Following are the nodes in XML Data "http://webser.part.site" nida 123 I have passed this node value to Xslt Service now i have this url NODE value in parameter e-g …
Azeem
  • 2,904
  • 18
  • 54
  • 89
{$r/movie_title}