Git Product home page Git Product logo

Comments (6)

vinitkumar avatar vinitkumar commented on June 7, 2024 1

@leslyarun Just saw this. Will look into it in my free time. Thanks for reporting this.

from json2xml.

vinitkumar avatar vinitkumar commented on June 7, 2024

@leslyarun Do you an example of the spec or some other library that does this? Or this is something very specific to how you want it?

from json2xml.

leslyarun avatar leslyarun commented on June 7, 2024

@vinitkumar This website does that - https://onlinexmltools.com/convert-json-to-xml
If we can implement like the same, it would be great.

from json2xml.

vinitkumar avatar vinitkumar commented on June 7, 2024

@leslyarun Alright. I see the website. Looks like it is using JS to convert it to XML on the fly. I will have to look into the website's JS and probably see if it can be ported to this implementation. In theory, it does looks possible. But I will once again confirm the spec and see if that' the correct way to do it. I can't promise anything at the moment but looks like a fun thing to hack on. I will update the ticket with the updates in case I find enough time to solve this.

from json2xml.

vinitkumar avatar vinitkumar commented on June 7, 2024

@leslyarun I do not seem to have time to implement this feature now. Though this seems interesting. Please feel free to send a PR for this if you are inclined. I do not want to make any false promises.

from json2xml.

vinitkumar avatar vinitkumar commented on June 7, 2024

The latest work done for #45 makes it much better. Here is the output for your json file:

<?xml version="1.0" ?>
<all>
	<item type="dict">
		<publication_number type="str">EP-0477689-B1</publication_number>
		<application_number type="str">EP-91115483-A</application_number>
		<country_code type="str">EP</country_code>
		<kind_code type="str">B1</kind_code>
		<application_kind type="str">A</application_kind>
		<application_number_formatted type="str">EP19910115483</application_number_formatted>
		<pct_number type="str"/>
		<family_id type="str">24344316</family_id>
		<title_localized type="list">
			<item type="dict">
				<text type="str">Verfahren zur Herstellung eines zur Filtration geeigneten porösen Polysulfon-Mediums</text>
				<language type="str">de</language>
			</item>
			<item type="dict">
				<text type="str">Procédé de fabrication d&amp;#39;un milieu poreux en polysulfone approprié à la filtration</text>
				<language type="str">fr</language>
			</item>
			<item type="dict">
				<text type="str">Process for the preparation of porous polysulfone media suitable for filtration</text>
				<language type="str">en</language>
			</item>
		</title_localized>
		<inventor type="list">
			<item type="str">BEDWELL, WILLIAM B.</item>
			<item type="str">YATES, STEPHEN F.</item>
		</inventor>
		<inventor_harmonized type="list">
			<item type="dict">
				<name type="str">BEDWELL WILLIAM B</name>
				<country_code type="str">US</country_code>
			</item>
			<item type="dict">
				<name type="str">YATES STEPHEN F</name>
				<country_code type="str">US</country_code>
			</item>
		</inventor_harmonized>
		<assignee type="list">
			<item type="str">Cpc Engineering Corporation</item>
		</assignee>
		<assignee_harmonized type="list">
			<item type="dict">
				<name type="str">CPC ENG CORP</name>
				<country_code type="str">US</country_code>
			</item>
		</assignee_harmonized>
		<entity_status type="str"/>
		<art_unit type="str"/>
	</item>
	<item type="dict">
		<publication_number type="str">EP-2309181-B1</publication_number>
		<application_number type="str">EP-10012345-A</application_number>
		<country_code type="str">EP</country_code>
		<kind_code type="str">B1</kind_code>
		<application_kind type="str">A</application_kind>
		<application_number_formatted type="str">EP20100012345</application_number_formatted>
		<pct_number type="str"/>
		<family_id type="str">43332270</family_id>
		<title_localized type="list">
			<item type="dict">
				<text type="str">Installation de chaudière à combustion à oxy-fuel et son procédé de fonctionnement</text>
				<language type="str">fr</language>
			</item>
			<item type="dict">
				<text type="str">Oxyfuel combustion boiler plant and operation method of oxyfuel combustion boiler plant</text>
				<language type="str">en</language>
			</item>
			<item type="dict">
				<text type="str">Oxyfuel-Brennkessel und Betriebsverfahren dafür</text>
				<language type="str">de</language>
			</item>
		</title_localized>
		<inventor type="list">
			<item type="str">TANIGUCHI, MASAYUKI</item>
			<item type="str">SHIBATA, TSUYOSHI</item>
			<item type="str">HAYASHI, YOSHIHARU</item>
		</inventor>
		<inventor_harmonized type="list">
			<item type="dict">
				<name type="str">TANIGUCHI MASAYUKI</name>
				<country_code type="str">JP</country_code>
			</item>
			<item type="dict">
				<name type="str">SHIBATA TSUYOSHI</name>
				<country_code type="str">JP</country_code>
			</item>
			<item type="dict">
				<name type="str">HAYASHI YOSHIHARU</name>
				<country_code type="str">JP</country_code>
			</item>
		</inventor_harmonized>
		<assignee type="list">
			<item type="str">Mitsubishi Hitachi Power Systems, Ltd.</item>
		</assignee>
		<assignee_harmonized type="list">
			<item type="dict">
				<name type="str">MITSUBISHI HITACHI POWER SYS</name>
				<country_code type="str">JP</country_code>
			</item>
		</assignee_harmonized>
		<entity_status type="str"/>
		<art_unit type="str"/>
	</item>
</all>

from json2xml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.