Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Other Build Tools
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Other Build Tools
Maven plug-in to generate properties file containing XPATH name/value pair from XML file
Chetan Parekh
Ranch Hand
Posts: 3640
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there any
Maven
plug-in to generate properties file containing XPATH name value pair from given XML file?
XML File ================ <?xml version = "1.0" encoding = "UTF-8"?> <repository xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns = "http://www.tibco.com/xmlns/repo/types/2002"> <globalVariables> <globalVariable> <name>//HelloWorld//BW.APPNODE.NAME</name> <value></value> <deploymentSettable>false</deploymentSettable> <serviceSettable>false</serviceSettable> <type>String</type> <isOverride>false</isOverride> <modTime>1436972124923</modTime> </globalVariable> <globalVariable> <name>//HelloWorld//BW.DOMAIN.NAME</name> <value></value> <deploymentSettable>false</deploymentSettable> <serviceSettable>false</serviceSettable> <type>String</type> <isOverride>false</isOverride> <modTime>1436972124923</modTime> </globalVariable> </globalVariables> </repository> XPath Properties file ===================== //HelloWorld//BW.APPNODE.NAME= //HelloWorld//BW.DOMAIN.NAME=
My blood is tested +ve for Java.
Stephan van Hulst
Saloon Keeper
Posts: 15714
367
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Why are you trying to do this?
You could easily write a recursive method to do this yourself.
Jayesh A Lalwani
Rancher
Posts: 2759
32
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Maven-XML-plugin can do XSLT transformations. More information
here
I've read about this kind of thing at the checkout counter. That's where I met this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Transitive Dependency Problem
Why the failure to download a plugin? And why is it looking for a beta?
SurefireExecutionException
Problem in parsing xml using java
install error -- The packaging for this project did not assign a file to the build artifact
More...