2,465 questions
1 vote
0 answers
74 views
XmlSerializer does not deserialize XmlAttributes with a Namespace-Prefix. Bug? [duplicate]
I am trying to deserialize a given piece of XML that looks like this: <?xml version="1.0" encoding="utf-8"?> <tst:myRootElement xmlns:tst="myGivenNamespace"> ...
1 vote
2 answers
62 views
Sort entries in an XML file using Saxon 12.9 and an XSLT 3.0 stylesheet
I'm trying to sort entries in an XML file using Saxon, Saxon:sort and an XSLT 3.0 stylesheet. I need to sort the nodes by the date in the <blogger:filename> field, which has the date as part of ...
-1 votes
1 answer
102 views
C++Builder 12 problem with XML prefixes - property Text from IXMLNode is always empty
If I try to read an XML document without prefixes, it works fine. But with prefixes, I'm not getting the content. Sample: <rsm:CrossIndustryInvoice xmlns:a="urn:un:unece:uncefact:data:standard:...
1 vote
1 answer
68 views
Use xmlstarlet to remove node if it contains a certain node
I'm trying to remove all the comments from an XML export of a Blogger blog. This involves finding and deleting each <entry> that contains a child node of <blogger:type>COMMENT</blogger:...
0 votes
1 answer
99 views
Is it possible to edit the text or HTML contents of an XML node using xmlstarlet?
The answer to my earier question How do I access an XML node that uses quote marks with xmlstarlet? shows how to access a node using the namespace, and in that case, deleting the entire node. ...
1 vote
1 answer
71 views
How to stop NAMESPACE-URI string from repeating in DATA-RELATION in Openedge Progress
I am using TEMP-TABLE files with DATA-RELATIONs and WRITE-XML function to create XML files. However, the NAMESPACE-URI value is printing in both the document header and the first data tag: xmlns=&...
1 vote
1 answer
77 views
How can I omit a namespace in xslt output?
I have this XML <?xml version="1.0" encoding="UTF-8"?> <item xmlns="http://www.p-corp.com/ns/pyxml" version="2.2" xml:lang="en-us"> &...
1 vote
0 answers
54 views
Canonical XML 2.0 with Namespace PrefixRewrite
I'm writing a Nuget Package (which I'll post as Open Source to Github once it's done) that implements xml canonicalization using the Canonical XML Version 2.0 (c14n2) spec. I've also been using Test ...