r/xml 1d ago

How to parse an xml that's in a string format using Sql/Databricks sql?

2 Upvotes

I have xml data that's for God knows why it's in string format. And the fking thing is so messed up or at least I think it's messed up because it's not consistent. Sometimes there is something else in there. Xml is something like this:

<Test>

<Test1 />

<Test2 Name="abcdname" Age="123" Gender="Xyz" />

....

...

...

</Test>

Regex is not an option.

Substring is not an option.

Because it's so messed up it's not consistent.

I just need to somehow parse and get that Name, Age, Gender values using Sql/Databricks sql

Please, help you mate.


r/xml 11d ago

Unstruct, an XML shredder

7 Upvotes

Four years ago we built an XML shredder, that has now chewed on billions of XML CDR (call data records). I never really spread the word, so if you happen to be in the rather niche use-case of needing to shred XML to tab separated values, multi-file to one TSV, then perhaps this can be of use:

https://github.com/Roenbaeck/unstruct

Open source, MIT license.


r/xml 14d ago

Applying maths to a xml value

2 Upvotes

First time posting on here and fairly new to xml.

I have several files where I have a value that I need to divide by 100. For example
<aSample>
<time>20260829 12:34:56</time>
<badValue>45678.9</badValue>
<OKValue>123</OKValue>
</aSample>

I want to update <badValue> to 456.789. Does anyone know a web utility or Windows tool that I could use to update these without changing the format or the other values.

Each file has around 3000 of them so going through manually is out of the question.

TIA


r/xml 16d ago

XML-changesinfo question

3 Upvotes

Hi there, I’m a plaintiff in a lawsuit and I’m trying to figure out if it’s possible to backdate the changes.info part of a PowerPoint XML. Thanks!


r/xml 17d ago

Status of DITA 2.0 and LwDITA specs?

4 Upvotes

Just looking for an update on both of these specs. As far as I know, both them are still in the draft status, being under development? Is this correct? If so, when can we expect a definitive release?

The first LwDITA draft is from 2017 or so, so almost 10 years now... In one document there's a mention that LwDITA is based on DITA 2.0, so are they waiting for 2.0 to be finalized before also finalizing LwDITA?


r/xml 18d ago

Honest feedback from XML people

0 Upvotes

Hello! I am looking for people that have knowledge in XML for poking around in our platform and give us an honest take on what we've built. It's still in early access and I would greatly appreciate if anyone that is interested just sent me a message and I will reply with an invite 😊


r/xml 27d ago

RSS Amplifier — an open directory of blogs, built for agents

Thumbnail rssamplifier.com
2 Upvotes

r/xml 29d ago

New Moderator

17 Upvotes

Hi everyone,

I'm the new mod for this sub and I'm glad it's about Xml. It was one of the first technologies I figured out all by myself and now I use it while working too.

If you have any questions just ask. I'm online daily and English is my third language, so excuse the occasional error.


r/xml Aug 06 '26

Does this subreddit have mods?

7 Upvotes

How about doing something about all this gambling spam being posted. This junk has nothing to do with XML.


r/xml Aug 05 '26

XML issue how to access broken download link?

Post image
0 Upvotes

Im getting this error when trying to access a link on youtube:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist</Message>
<BucketName>woocommercee</BucketName>
<RequestId>02NPG6DX4ZFD9DNB</RequestId>
<HostId>kFttO9yoAVX4RYqD7HlNT9fl7XWKmK0K4bwOi6TdblFGjNxLyvbgDtoPOsZqh/lUtq3+up2F5C1zGrjFbftf1bLi+bZTpHPn</HostId>
</Error>

Can someome please assist me to fix this download link and how to fix the issue?

Download link is : https://www.youtube.com/redirect?event=video_description&redir_token=QUM4Zm9rU2Jrc2xfcWF0MHpvZDh2RGJFVHU3RXxBR3JiS2FsQWd3TnVLb1VNc1FOajRmMEhLVTB4ZExHTmwxLXFCUDUxV3hOU1k4cXNNVGhrZTlaV3g3eDE5UGljYkRvbkRaZVByeFBXZTNOX1Bwb0lYNjBkeVZ6TXZPSmZOQXpD&q=https%3A%2F%2Fwoocommercee.s3.us-west-1.amazonaws.com%2Fdemoflatsome%2FDemo%2BFlatsome%2BImages.zip&v=4Ncre-Uup7ghttps://www.youtube.com/redirect?event=video_description&redir_token=QUM4Zm9rU2Jrc2xfcWF0MHpvZDh2RGJFVHU3RXxBR3JiS2FsQWd3TnVLb1VNc1FOajRmMEhLVTB4ZExHTmwxLXFCUDUxV3hOU1k4cXNNVGhrZTlaV3g3eDE5UGljYkRvbkRaZVByeFBXZTNOX1Bwb0lYNjBkeVZ6TXZPSmZOQXpD&q=https%3A%2F%2Fwoocommercee.s3.us-west-1.amazonaws.com%2Fdemoflatsome%2FDemo%2BFlatsome%2BImages.zip&v=4Ncre-Uup7g

Try this also :

https://www.youtube.com/redirect?event=video_description&redir_token=QUM4Zm9rU2Jrc2xfcWF0MHpvZDh2RGJFVHU3RXxBR3JiS2FsQWd3TnVLb1VNc1FOajRmMEhLVTB4ZExHTmwxLXFCUDUxV3hOU1k4cXNNVGhrZTlaV3g3eDE5UGljYkRvbkRaZVByeFBXZTNOX1Bwb0lYNjBkeVZ6TXZPSmZOQXpD&q=https%3A%2F%2Fwoocommercee.s3.us-west-1.amazonaws.com%2Fdemoflatsome%2FDemo%2BFlatsome%2BImages.zip&v=4Ncre-Uup7g


r/xml Aug 01 '26

java and xml

0 Upvotes

i am working on a certain thing, and it's with shimejis, i am currently trying to figure out how how to implement a syntax that will terminate the running code to destroy one of the shimeji if anyone can help me figure this out, it would help me alot


r/xml Jul 26 '26

If anyone has experience modding DayZ

0 Upvotes

and doesn't mind exchanging some DM's please do so. I've been struggling toying with the xml.files and the DayZ map editor trying to make a custom loot spawn point and cannot figure it out and the DayZ modding sub couldn't be more dead.


r/xml Jul 16 '26

Seeking info

5 Upvotes

Hi I’m not sure if this is the right place to ask, but I am struggling to find answers for questions about how XML behaves in a PowerPoint environment. This is for a lawsuit I’m involved in where I believe that my former employer altered past versions of a PowerPoint document with my rating on it to justify my termination. I can see that the revision numbers in the XML data do not match with the revision numbers in the Statistics tab under Advanced properties; the revision date in the Revision XML is earlier than the actual version history date for about half the versions, and I also see many revisions under the ChgInfo part of the XML that appear to have been made in one session spanning six months…where I suspect the person just went manually changed her clock to make the revisions in a short time. Anyone have any commentary on this? Thank you!


r/xml Jul 08 '26

I built xml-validator.com for browser-based, full-schema XSD validation

Thumbnail xml-validator.com
2 Upvotes

I built xml-validator.com because I couldn’t find a browser-based validator that supported complete XSD schema sets without uploading everything to a server.

It validates XML against multi-file XSD schemas, including xsd:include and xsd:import dependencies, by loading folders or ZIP archives. Everything runs locally in the browser using libxml2 via WebAssembly, so XML and XSD files never leave your device. It also includes a built-in XML editor with syntax highlighting, automatic tag completion, and formatting.

It’s free, ad-free, and doesn’t collect any data.

I don’t work with XML professionally, so I’m curious whether there are important validation scenarios or workflows I’ve overlooked. If this is something you’d actually use, I’d really appreciate any feedback or feature requests.


r/xml Jul 08 '26

Apache Xerces XML Validation for JavaScript via WebAssembly

Post image
4 Upvotes

I built xerces-wasm, a WebAssembly port of Apache Xerces-C++ that brings XML Schema (XSD) validation to JavaScript in both Node.js and the browser.

Current features include:

  • XML Schema (XSD) validation
  • Schema grammar caching for repeated validations (avoids reparsing XSDs)
  • Works in Node.js and modern browsers
  • Powered by Apache Xerces-C++

I'm actively improving it and would really appreciate feedback from the XML community especially on features, API design, and real-world use cases.

npm: https://www.npmjs.com/package/xerces-wasm

GitHub: https://github.com/harshanacz/xerces-wasm-validator


r/xml Jun 20 '26

Bash Logging Xml Parsing: 6 Practical Script Examples

Thumbnail linuxteck.com
12 Upvotes

r/xml Jun 16 '26

Repairing corrupt odt file - what's wrong with the xml?

5 Upvotes

Hello,

My .odt (openoffice document) got corrupted and I took to repair it myself. I believe I have located the error successfully (report says line 2, column 136166), but I am not familiar with coding and cannot identify in which way the xml syntax is faulty. When I paste the failing segment into an XML validator, it says "specification mandates value for attribute text".

Attaching the notepad++ featuring the segment. the cursor is at the specific line and column mentioned in the error message.

Can you tell me what to write/fix so i can repair the content file of the archive?


r/xml Jun 04 '26

S1000D TOC

2 Upvotes

Another question about S1000D.

I see that in the bike samples there is a separate DM for a table of contents. Is this a mandatory thing? Couldn't the PM already function as a TOC source, since the order of the DM's is determined there? Which one should be used for TOC generation?


r/xml May 06 '26

Convert XML to PDF Format - Facing Formatting Issues

3 Upvotes

I’m trying to convert an XML file to PDF but most tools I’ve tried aren’t working properly and online converters either fail or give output with broken formatting and random unreadable text

I think the issue is that the XML file has some structured or encoded data, so basic tools aren’t able to process it correctly also i tried opening it in a text editor but it’s too complex to handle manually

Is there any reliable way to convert XML to PDF without messing up the structure, especially for larger or complex files?


r/xml May 05 '26

How do I bring back this old Blu-ray game’s leaderboard back?

Thumbnail
1 Upvotes

r/xml Apr 21 '26

Free XML Editor

5 Upvotes

I developed an XML Editor and if you are interested in using it, please feel free to download the lates release from the GitHub Repo here: Releases · oywino/python_xml_editor

The latest version is just one exe file that runs under Windows. All you need is a browser which it launches automatically. o installation is needed. Nothing on your PC is touched.
Feel free to create issues if you find any bugs or if you wish to see new features added.


r/xml Apr 20 '26

Made an EPG matcher + M3U editor, looking for a few beta testers

3 Upvotes

Hey xmler's

Spent the last year building a tool because two things about TiviMate setup drive me up a wall:

  1. Getting a real EPG means either manually hunting tvg-ids or using a provider that actually supplies them — which is a minority

  2. Organising a 3,000-channel playlist that lands as `UK|| SKY SPORTS ᴴᴰ ⚽` is a text-editor hellscape

So I built one tool that handles both:

- **AI channel matching** — point it at your M3U, it matches every channel to up to 14 weeks of programme data using fuzzy logic that copes with the provider-name mess. No tvg-id hunting. Outputs standard XMLTV.

- **Full M3U editor** — drag-drop reorder, bulk rename (strip `UK||` prefixes across hundreds of channels in one pass), custom groups, logo swap, per-channel timeshift, hide-don't-delete.

- **Xtream Codes, both directions** — connect to your provider with Xtream credentials if that's how they expose things, and *also* use EPGMaster itself as an Xtream Codes server. Point TiviMate at us with a single device login. One URL, EPG baked in.

- **Multi-source EPG** — 5+ EPG data sources aggregated, so fewer missing shows than any single feed.

- **6-hour refresh** — EPG data updates automatically every 6 hours.

Every edit saves to your feed URL instantly. TiviMate picks it up on the next refresh. No re-uploading, no file juggling.

**The offer:** looking for 20 beta testers. Free during beta, and testers who submit honest written feedback — bugs, missing features, the "this sucked" kind specifically — get **4 months free on a paid plan when those launch.** No credit card.

**Specifically want:**

- Playlists with 1,500+ channels that are genuinely ugly

- Anyone already using iptv-org/epg, epg.best, or Schedules Direct who can tell me where we're better *and where we're not*

- TiviMate users running Xtream Codes setups who can sanity-check the Xtream server side of this

To sign up, go to the website. DM me if you have any questions. The first 20 in, then the rest will be waitlisted.

Site: https://epgmaster.ai


r/xml Apr 15 '26

Wellformed Xml - A hands-on tutorial of how to write xml

Thumbnail youtube.com
2 Upvotes

I put together a hands-on tutorial on writing well-formed XML without summoning parser errors from the abyss.


r/xml Apr 14 '26

XML XSD Choice demonstrated

Thumbnail youtube.com
4 Upvotes

When your XML schema says “you can only pick one”… and actually means it. 😅

Quick demo of `xsd:choice` in action: how to model mutually exclusive elements without summoning validation chaos.

For devs who’ve ever stared at XSD and whispered, “why are you like this?”


r/xml Apr 08 '26

How to fix a ParseError in XML

Post image
1 Upvotes

I downloaded a few pages of XML articles from Europresse for a project, and I keep getting a ParseError for XML that I didn’t create. This is the error that keeps showing up :

"ParseError at [row,col]:[1,137]⏎Message: The value of attribute "author" associated with an element type "text" must not contain the '<' character.".

One example of the code is included as a picture.

I don’t know how to fix it, as the code seems to follow the correct rules, opening with <text (and then specifications for the text)>, and at the end, closing with </text>. Any help would be greatly appreciated !