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
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
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: 15725
368
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
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
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...