Skip to main content
1 vote
0 answers
75 views

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"> ...
Frank_J's user avatar
  • 11
1 vote
3 answers
129 views

I need to merge Saxon Documentation - merge one node from the source XML file merge.xml into the file merge-test.xml, positioning the node in between two other nodes in the output file output.xml. No ...
BlueDogRanch's user avatar
1 vote
2 answers
68 views

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 ...
BlueDogRanch's user avatar
2 votes
1 answer
70 views

What's a simple example of removing a node from an XML file using Saxon 12.9 and an XSLT 3.0 stylesheet? I've got an XML export from Blogger, and I'm puzzled on how to remove just the COMMENT entries ...
BlueDogRanch's user avatar
-1 votes
1 answer
106 views

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:...
ThomasB's user avatar
0 votes
2 answers
116 views

I have content in the XML node <content type='html'> which uses the HTML entities &lt; and &gt; for < and > , i.e. in input.xml: <?xml version='1.0' encoding='utf-8'?> <...
BlueDogRanch's user avatar
1 vote
1 answer
72 views

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:...
BlueDogRanch's user avatar
1 vote
1 answer
37 views

I’m unmarshalling an incoming XML into POJOs using JAXB (javax.xml.bind) with @XmlAccessorType(XmlAccessType.FIELD). Most fields under bind correctly for me (e.g. asFer, square, SOY, ab), but the ...
eddasahin61's user avatar
0 votes
1 answer
104 views

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. ...
BlueDogRanch's user avatar
1 vote
1 answer
55 views

I'm trying to learn how to use xmlstarlet 1.6.1 https://xmlstar.sourceforge.net and I can't find how to escape the quotes or otherwise get xmlstarlet to recognize <content type="html"> ...
BlueDogRanch's user avatar
1 vote
1 answer
72 views

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=&...
JSS's user avatar
  • 37
0 votes
0 answers
63 views

I got SVG files exported from Coreldraw or Inkscape: Coreldraw exported SVG file header: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG ...
klor's user avatar
  • 1,336
1 vote
1 answer
81 views

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"> &...
ondrums's user avatar
  • 178
1 vote
1 answer
89 views

I have an xml file with a default namespace, like this: <?xml version="1.0" encoding="utf-8"?> <root xmlns="somelongnamespace"> <child>...</child&...
Michel de Ruiter's user avatar
1 vote
0 answers
55 views

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 ...
Dave Black's user avatar
  • 8,199

15 30 50 per page
1
2 3 4 5
165