Skip to content

This is a console application project based on Weather XML data. It can parse, manipulate, query, transform XML data parsing it from Postgresql. Integrated with Java to transform XML data to various types/files.

Notifications You must be signed in to change notification settings

SarvarKh/Coursework-Weather-XML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coursework-Weather-XML

This is a console application project based on Weather XML data. It can parse, manipulate, query, transform XML data parsing it from Postgresql. Integrated with Java to transform XML data to various types/files.

Screenshots

Getting Started

To get started with this project, follow these steps:

  • Clone the repository to your local machine.
  • Install in pom.xml file.
  • Run the application using your IDEA's run button on Main class.
  • Console window will be opened.
  • you can play around with this interactive console to retrieve all inventories or by their parameters;

Running application

  • open ReadXMLWithSAX class and run main method, and interact with console. OR
  • open your terminal and from root project directory run: mvn exec:java -Dexec.mainClass="net.sf.saxon.Transform" -Dexec.args="-s:src/main/resources/computer_parts.xml -xsl:src/main/resources/computer_parts_transform_1_util.xsl -o:outputTEST2.html"

Features

This project includes the following features:

  • Validate XML file with DTD or XSD.
  • Transform content data of XML file into separate Text file using XSLT.
  • XQuery data from Postgresql DB
  • Interaction with Java console application
  • Creates various reports based on data on DB

Technologies Used

This project was built using the following technologies:

  • Java 17.0.2 (Servlets, Filters, Listeners)
  • XML, XSLT, XPATH, XQuery, DTD, XSD, DOM, SAX
  • Maven
  • Postgresql
  • Saxon-HE (open-source versions of the Saxon XSLT 3.0, XQuery 3.1, and XPath 3.1 processor for Java)

Authors

👤 Sarvar Khalimov

Contributing

If you would like to contribute to this project, please follow these steps:

  • Fork the repository.
  • Create a new branch for your feature or bug fix.
  • Make your changes and commit them.
  • Push your changes to your fork.
  • Submit a pull request.

Show your support

Give a ⭐️ if you like this project!

License

This project is MIT licensed.

About

This is a console application project based on Weather XML data. It can parse, manipulate, query, transform XML data parsing it from Postgresql. Integrated with Java to transform XML data to various types/files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages