Adding information to xml with help of xslt [closed] - java

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
It's the task:
"The page contains ADD button to add new entity on the next page and after SAVE button has been pressed you make again XSLT transformation to get XML with new entity, save it and generate in the response list of entities.
During addition of entity call the JAVA code using xalan extension to validate fields.
PS You can not use jsp"
I don't understand how to do it. Can you help me understand this?

Dmitry, my friend, I know you know Russian. Try this link out - http://www.ibm.com/developerworks/ru/library/x-xjavaforum5/index.html Also, could you please clarify, why do you have to use XSLT?

Related

How to filter a specific verb in getActivities in GetStream [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm looking for a way to apply a filter by verb on feed.getActivities() in GetStream API, more than lg_te or etc. I want to filter verb to be equals something like writeArticle. Is there any way? Unfortunately, I couldn't find anything in the docs.
Thank you for all of your help.
You can't.
For these activities, put them into a separate feed and read directly and make your original feed to follow this new feed.
Your current follow: add to X
Your new follow: add to article feed and X will follow article feed so everything as before.
But now you can filter, just read article feed.

Add multiple values on a table using docx4j [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
The image below describes what I want to do, so I'm supposed to add many values to this three tables.
I'm using the library docx4j
You can use content control databinding for this; docx4j's OpenDoPE convention allows you to repeat table rows. And more recent versions of Word have a concept of repeating content controls; see https://www.docx4java.org/blog/2015/01/word-2013-repeatingsection-content-controls-ready-for-prime-time/
In principle, docx4j supports both, but it'll be easier to get help with the OpenDoPE approach.
To get started, try invoice.docx from https://github.com/plutext/docx4j/tree/master/sample-docs/word/databinding which is an example of repeating table rows.
To merge invoice-data.xml (from the same dir) into it, use https://github.com/plutext/docx4j/blob/master/src/samples/docx4j/org/docx4j/samples/ContentControlsMergeXML.java
If you like this approach, you'll need to author your own input document; to do this, you can try the "friendly" Word AddIn at https://opendope.org/implementations.html

xpath is not working, i need a unique id to identify the element [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
i need a unique id to identify the text field(start - press)(end - press) mention in the below image
there is no id, name or class to identify them
this is the xml code seen in inspect element.
Try using
//input[contains(#placeholder,'Start')]
or
//div[#class="leaflet-routing-geocode"]/input
i think
By.cssSelector("input[placeholder=\"Start - press enter to drop
marker\"]")
...ought to work

How transmit parameters from href by not method GET? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
How transmit parameters from href by not method GET?
I use spring. maybe spring tools can to help me?
by method get:
${candidate.name}
candidate.id transmit by get method
How transmit candidate.id by Post(for example method)?
No,By default href hits get method,There is no way to specify a method.
Try some html form to specify Method's or move your logic to GET.
If you can use client script (javascript),There is possibility do it with.

In hibernate tracking the data that saving in Database [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am working on encrypting and decrypting of savable data of my application. For that i need to know the strings that saving in my database(I need them exactly just before saving into DB).
How to track that data while before saving ?? any help ??
thanks .
Hinernate supports the concept of interceptors and events. You can use the public boolean onSave(...)
You can do this with the help of Data Access Object design pattern. where u can track data before going to save by implementing your custom function

Categories

Resources