Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 54
Search took 0.01 seconds.
Search: Posts Made By: Tomi
Forum: Struts July 8th, 2008, 03:44 AM
Replies: 0
Views: 2,547
Posted By Tomi
Problem filling up a form

Hello all,

My problem is the following:

I have two jsp files. The first one opens the second one when a link is pressed by the user(<a> struts2 tag).
The second jsp has a form with two...
Forum: J2EE February 1st, 2008, 06:22 AM
Replies: 0
Views: 1,987
Posted By Tomi
Web service call error

Hello everyone,

I'm am working on we service client that has to make requests to a .NET web service. The request has no parameters.

When I make the request I get the following error:

Server...
Forum: XSLT January 23rd, 2008, 08:18 AM
Replies: 1
Views: 833
Posted By Tomi
XSLT design

Hello everyone,

I'm currenly writing documentation on a XSL transformation I've developed, which transforms an input XML file into another XML file but with different structure.
Can anyone give...
Forum: XSLT January 22nd, 2008, 07:02 AM
Replies: 1
Views: 705
Posted By Tomi
XSLT development methodology

Hello all,

I have the following doubt. Is there any standard development methodology for developing XSL tranformations?
Or the use of XSLT implies a trial and error development style.

Thanks...
Forum: XSLT January 16th, 2008, 01:37 PM
Replies: 2
Views: 4,414
Posted By Tomi
XQuery from command line

Hello everyone,

I'm having problems executing XQuery from command line. The documentation from saxonica is not working. I need sometnig like

java -jar saxon9.jar -s "input.xml" query=query.xq...
Forum: XSLT December 13th, 2007, 04:58 AM
Replies: 2
Views: 3,887
Posted By Tomi
My real problem is the following one: When I...

My real problem is the following one:

When I apply my stylesheet "D2L.xsl" to the "dtxml2.xml" document I get the following information:

C:\Documents and Settings\Tomas\Escritorio\PASARELA>java...
Forum: XSLT December 12th, 2007, 01:18 PM
Replies: 2
Views: 3,887
Posted By Tomi
Executing Saxon from de Command Line

Hello everyone,

Can anyone give me a short description of the data obtained when executing Saxon from de command line with the option -t?
I'm working with Saxon 8.

Thank you very much for the...
Forum: XML September 14th, 2007, 04:39 AM
Replies: 0
Views: 705
Posted By Tomi
namespace

HELLO EVERYONE,

Does anybody know how can I modify or insert a namespace declaration
with an XMLOptions object?

I'm workning with XMLBeans and when I parse one of my XML Documents the parse...
Forum: XSLT May 7th, 2007, 07:14 AM
Replies: 3
Views: 1,271
Posted By Tomi
I'm using saxon. The first idea that comes...

I'm using saxon.

The first idea that comes to my mind to tackle this problem is to create a regular expression that only allows some kind of querys.

i.e if(query.matches("(situation/*)) ==...
Forum: XSLT May 7th, 2007, 04:32 AM
Replies: 3
Views: 1,271
Posted By Tomi
security on Xquery

Hi everyone,
I'm working on a server-side application that has to process Xquery statements that come in HTTP GET requests.

i.e....
Forum: XSLT April 4th, 2007, 10:26 AM
Replies: 14
Views: 2,069
Posted By Tomi
My xml file is as follows: <?xml...

My xml file is as follows:

<?xml version="1.0" encoding="UTF-8"?>

<d2LogicalModel xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
Forum: XSLT April 4th, 2007, 08:14 AM
Replies: 14
Views: 2,069
Posted By Tomi
Ok,my new code is as follows.I dont get any error...

Ok,my new code is as follows.I dont get any error now but the result string is an empty string what is impossible because "//situation" could never fail.
I'm certainly loading saxon now.

Any...
Forum: XSLT April 4th, 2007, 05:07 AM
Replies: 14
Views: 2,069
Posted By Tomi
I think I do use saxon, I do so in the other...

I think I do use saxon, I do so in the other parts of my application.How can I found this out?

Thanks for your time.
Forum: XSLT April 4th, 2007, 04:23 AM
Replies: 14
Views: 2,069
Posted By Tomi
My new code is: String result = new...

My new code is:

String result = new String();
XPathFactory factory =
javax.xml.xpath.XPathFactory.newInstance();

XPath xpath = factory.newXPath();

try
{
Forum: XSLT April 2nd, 2007, 07:15 AM
Replies: 14
Views: 2,069
Posted By Tomi
I forgot to tell you that the variable 'xml' is a...

I forgot to tell you that the variable 'xml' is a String that contains the xml file that I want to query.

Thanks in advance.

Tomi
Forum: XSLT April 2nd, 2007, 06:34 AM
Replies: 14
Views: 2,069
Posted By Tomi
I've tried the following code: String result...

I've tried the following code:

String result = new String();

try
{
XPathFactory factory =
javax.xml.xpath.XPathFactory.newInstance();

XPath xpath = factory.newXPath();
Forum: Java GUI March 31st, 2007, 04:57 AM
Replies: 1
Views: 11,157
Posted By Tomi
how to change the colour of a cell in a jtable

Can someone show me the way of changing the background color of an specific cell(say (5,5)) in a jTable.
I`ve read a lot about cell renderers but all I could find is how to change the colour of a...
Forum: XSLT March 30th, 2007, 06:07 AM
Replies: 14
Views: 2,069
Posted By Tomi
retrieving values with xsl

Hello everyone,

I was wondering if there is any way to retrieve the highest value of a node.What I mean is that i dont want to create another xml file from the input one, I only want to obtain...
Forum: XSLT March 12th, 2007, 05:49 AM
Replies: 2
Views: 2,332
Posted By Tomi
template match doesnt match the required node

Hello all,

I'm having problems when matching the nodes of an xml file.I think there is a problem with namespaces but I cant figure out which one.Ive already read the link...
Forum: XSLT March 9th, 2007, 07:47 AM
Replies: 1
Views: 1,397
Posted By Tomi
template m,atch doesnt match

Hello,

I have a problem with a template that doesnt match the desired node, in fact it doesn`t match any node.

This is my xml file:

<?xml version="1.0" encoding="UTF-8"?>
<d2LogicalModel...
Forum: XSLT March 7th, 2007, 06:12 AM
Replies: 1
Views: 633
Posted By Tomi
simplifying an expression

Just wanted to know if there is any way to simplify an expression of this kind:

<xsl:if test="'LS1' = $fras or 'LS2' = $fras or 'LS3' = $fras or 'LS4' = $fras or 'LS5' = $fras or 'LS6' = $fras or...
Forum: XSLT March 5th, 2007, 09:43 AM
Replies: 3
Views: 641
Posted By Tomi
Fuction compare?

Fuction compare?
Forum: XSLT March 5th, 2007, 09:06 AM
Replies: 3
Views: 641
Posted By Tomi
function contains

Hello all,
I was wondering if there is any function,similar to contains,that returns true if the second parameter matches "exactly" with the first parameter.

Example:
<xsl:when...
Forum: XSLT October 31st, 2006, 07:03 AM
Replies: 0
Views: 508
Posted By Tomi
how to detect that an xml has chnged

Hello everyone,
I'm working on a appilcation where an xml file is updated peridocally.I was wondering if there is any simple way(maybe with xsl) to detect wether this xml file has changed or not...
Forum: XSLT September 21st, 2006, 04:34 AM
Replies: 1
Views: 1,839
Posted By Tomi
Comparing dates

Does anyone know what is wrong with the following coditional sentence?

<xsl:if test="op:dateTime-greater-than( xs:dateTime('2006-09-11T16:36:00+02:00') , xs:dateTime('2006-09-11T16:35:00+02:00') )...
Showing results 1 to 25 of 54

 


All times are GMT -4. The time now is 08:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.