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 | Calendar | 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 500
Search took 0.05 seconds.
Search: Posts Made By: joefawcett
Forum: BOOK: Beginning XML, 5th edition September 11th, 2017, 04:12 AM
Replies: 3
Views: 5,431
Posted By joefawcett
Apologies

Sorry for not replying earlier, we sold the solution to Elon Musk and are now under NDA [:)]
Forum: BOOK: Beginning XML, 5th edition November 4th, 2015, 07:20 AM
Replies: 2
Views: 1,254
Posted By joefawcett
I think you may be right, I'll check when I get...

I think you may be right, I'll check when I get home.
I believe the description was written some time before publication and the chapter containing the Jabber stuff was dropped subsequently.
...
Forum: XSLT February 25th, 2015, 05:01 AM
Replies: 3
Views: 572
Posted By joefawcett
Instead of testing whether the node is named...

Instead of testing whether the node is named 'third' why not just search for:root/first/descendant::third[@name = 'this']
Forum: XSLT January 21st, 2015, 01:14 PM
Replies: 10
Views: 831
Posted By joefawcett
Yes, there are a number of solutions, this should...

Yes, there are a number of solutions, this should work:
<script type="text/javascript" >
var picurl = <xsl:text>"</xsl:text><xsl:value-of select="$mypic2" /><xsl:text>"</xsl:text>;
alert...
Forum: XSLT January 21st, 2015, 12:50 PM
Replies: 10
Views: 831
Posted By joefawcett
Show the JavaScript that is created.

Show the JavaScript that is created.
Forum: XSLT January 21st, 2015, 12:28 PM
Replies: 10
Views: 831
Posted By joefawcett
Not sure, as can't see your XML, but don't you...

Not sure, as can't see your XML, but don't you need quotes around the path?

<script type="text/javascript" >
var picurl = "<xsl:value-of select="$mypic2" />";
alert (picurl);
</script>
Forum: Ajax October 27th, 2014, 06:09 AM
Replies: 2
Views: 1,621
Posted By joefawcett
I don't think version 2 of Google Maps...

I don't think version 2 of Google Maps (https://developers.google.com/maps/documentation/javascript/v2/reference) is available any longer.
Forum: BOOK: Professional ASP.NET Design Patterns September 30th, 2014, 11:05 AM
Replies: 2
Views: 5,343
Posted By joefawcett
In English, criteria is the plural of criterion,...

In English, criteria is the plural of criterion, based on its Greek roots.
Forum: XSLT April 14th, 2014, 12:23 PM
Replies: 10
Views: 1,564
Posted By joefawcett
I don't understand why you are not getting...

I don't understand why you are not getting anything for the simple copy XSL. How are you viewing the output? If it's in a browser can you view source to see if output has been hidden? Try this XSLT:...
Forum: Javascript How-To March 10th, 2014, 05:59 AM
Replies: 1
Views: 1,541
Posted By joefawcett
You need to understand the difference between...

You need to understand the difference between Java and JavaScript (http://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm), this forum is for the latter.

That...
Forum: BOOK: Beginning XML, 5th edition November 16th, 2013, 06:27 AM
Replies: 2
Views: 1,745
Posted By joefawcett
Try the free trial of oXygen which is used for...

Try the free trial of oXygen which is used for examples elsewhere in the book.
Forum: XSLT November 5th, 2013, 11:00 AM
Replies: 2
Views: 752
Posted By joefawcett
If the variable $points is global then change: ...

If the variable $points is global then change:
<xsl:variable name="points"
select="Gather/Stat/Point" />

to

<xsl:variable name="points"
select="/MissionProfile/Gather/Stat/Point" />
Forum: XSLT July 3rd, 2013, 11:40 AM
Replies: 10
Views: 1,128
Posted By joefawcett
It is possible to replace IE's built-in in...

It is possible to replace IE's built-in in stylesheet that displays the XML, but I don't think you can replace the error messages (or add to them). Your users will just have to use Firefox or a...
Forum: XSLT June 28th, 2013, 11:56 AM
Replies: 3
Views: 931
Posted By joefawcett
I haven't time just now to examine the code in...

I haven't time just now to examine the code in detail but if you open an XML file with an XSLT referenced by an xml-stylesheet processing instruction then the browser will use its own transformation...
Forum: BOOK: Beginning XML, 5th edition June 10th, 2013, 04:04 AM
Replies: 5
Views: 1,855
Posted By joefawcett
Although I didn't author that chapter I think you...

Although I didn't author that chapter I think you are right, the XML is incorrect. The second 'contacts' element needs removing altogether and the attributes moving to the root as you said:
<?xml...
Forum: XSLT February 15th, 2013, 05:11 AM
Replies: 4
Views: 862
Posted By joefawcett
Get_Workers_Response is not the same as...

Get_Workers_Response is not the same as Get_Worker_Response
Get_Workers_Response is in namespace so needs wd: prefix in match attribute
Need to use //wd:Get_Workers_Response or full path after...
Forum: XML November 28th, 2012, 06:25 AM
Replies: 5
Views: 2,660
Posted By joefawcett
That's fairly easy. You create an Xml DOM object...

That's fairly easy. You create an Xml DOM object and load the Request into it:

Dim xmlDoc
Set xmlDoc = Server.CreateObject("msxml2.DomDocument.6.0")
xmlDoc.Load(Request)
'to debug...
Forum: XML November 27th, 2012, 07:58 AM
Replies: 5
Views: 2,660
Posted By joefawcett
As Sam states this is going to be a struggle -...

As Sam states this is going to be a struggle - parsing SOAP XML is not easy.
If you must use traditional ASP there used to be a Microsoft SDK that would help, it's called the SOAP Toolkit....
Forum: Javascript October 25th, 2012, 12:16 PM
Replies: 5
Views: 11,443
Posted By joefawcett
This might help:...

This might help: http://p2p.wrox.com/vb-how/6021-changing-cell-formating-excel-via-vba.html

In your case I think you need to set the NumberFormat of the cell to "dd/mm/yyyy" or similar.

You can...
Forum: Javascript October 24th, 2012, 12:29 PM
Replies: 5
Views: 11,443
Posted By joefawcett
Your code is unlikely to work unless the IE...

Your code is unlikely to work unless the IE browser security settings are set to 'none-existent'. A web page cannot usually access a local file, especially via ActiveX. You should make sure that you...
Forum: Wrox Book Feedback September 27th, 2012, 10:20 AM
Replies: 3
Views: 4,153
Posted By joefawcett
Well that's not a Wrox publication so I doubt...

Well that's not a Wrox publication so I doubt you'd find a forum on it here. Wrox is owned by Wiley but I believe only actual Wrox books have forums on this site.
Forum: XSLT August 16th, 2012, 09:56 AM
Replies: 5
Views: 1,195
Posted By joefawcett
Sorry, that can't be done using XSLT because your...

Sorry, that can't be done using XSLT because your required result is not well-formed XML. You can get the self-closed element by doing this:
<xsl:choose>
<xsl:when test="./str[@id='aaa'] !=''">...
Forum: XSLT August 16th, 2012, 09:35 AM
Replies: 5
Views: 1,195
Posted By joefawcett
Sorry, I thought I explained how if you want to...

Sorry, I thought I explained how if you want to use xsi:nil you need to declare the prefix to namespace mapping. I don't really understand what your second post is asking.
Forum: XSLT August 16th, 2012, 08:23 AM
Replies: 5
Views: 1,195
Posted By joefawcett
In your expected result you have: <First...

In your expected result you have: <First xsi:nil="true"/> which uses the nil attribute within the namespace referred to by the xsi prefix (http://www.w3.org/2001/XMLSchema-instance).
So you can't...
Forum: Javascript July 5th, 2012, 06:57 AM
Replies: 4
Views: 1,454
Posted By joefawcett
Then you can try setAttribute: ...

Then you can try setAttribute:
button.setAttribute("onclick", "hola('myText');");
You just need to be careful with quotes and make sure that variables will be available when the function is called.
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 02:48 PM.


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