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 51
Search took 0.01 seconds.
Search: Posts Made By: tclotworthy
Forum: XSLT February 11th, 2015, 02:12 PM
Replies: 1
Views: 4,160
Posted By tclotworthy
WSDL to XML Transformation

Hello,

I have performed a WSDL to HTML transform with wsdl-viewer.xsl. That certainly creates a nicely formatted web page with friendly links links between the various parts in the structure...
Forum: XSLT April 9th, 2011, 01:21 PM
Replies: 6
Views: 827
Posted By tclotworthy
Thank you Martin. I appreciate your help. I will...

Thank you Martin. I appreciate your help. I will get by with this for now.
Forum: XSLT April 8th, 2011, 02:05 PM
Replies: 6
Views: 827
Posted By tclotworthy
thanks for reply.. Hmm, I should clarify that...

thanks for reply.. Hmm, I should clarify that these expressions have to be written as xpath (the tool I am relying on contains an xpath processor to which I pass xpath-based expressions).

The...
Forum: XSLT April 8th, 2011, 12:41 PM
Replies: 6
Views: 827
Posted By tclotworthy
Thanks for reply. I should have clarified. I must...

Thanks for reply. I should have clarified. I must use XSLT 1.0. Any reasonable way to do it in 1.0? Thanks for any reply!
Forum: XSLT April 8th, 2011, 11:22 AM
Replies: 6
Views: 827
Posted By tclotworthy
Querying Data Field Against Data Value

Hello,

In the below code fragment, I have a need to build an expression that can determine (as an example) if velocity is > 0. The DataArray fields relate to the comma-delimited ns1:values element...
Forum: XSLT March 8th, 2011, 01:43 PM
Replies: 2
Views: 512
Posted By tclotworthy
apologies for delay in response

thanks so much my friend. I used your hint some time ago, and forgot to respond. Indeed the second solution (not XSLT 2.0) worked great!

Always impressed with the time and energy you take for us....
Forum: XSLT February 23rd, 2011, 07:22 PM
Replies: 2
Views: 512
Posted By tclotworthy
Defining a Constraint for a 2-Value Element

Hello,

If I an XML structure that looks like:

- <sa:position>
- <gml:Point>
<gml:pos srsName="urn:ogc:def:crs:EPSG:4326">100.0 50.0</gml:pos>
</gml:Point>
</sa:position>
Forum: XSLT February 1st, 2011, 11:57 AM
Replies: 4
Views: 1,913
Posted By tclotworthy
yes it was the fact that the xpath processor...

yes it was the fact that the xpath processor didn't have the bindings for the om and xlink namespaces. All works now. Thanks!
Forum: XSLT January 31st, 2011, 09:11 AM
Replies: 4
Views: 1,913
Posted By tclotworthy
thanks for replies thus far. I tried just now: ...

thanks for replies thus far. I tried just now:

//om:procedure[@xlink:href='urn:eu:fp7:genesis:procedure:aircraft_A']


but I still am receiving no response.

Also, based upon what mhkay said...
Forum: XSLT January 30th, 2011, 07:42 PM
Replies: 4
Views: 1,913
Posted By tclotworthy
xpath query (filter) syntax problem?

Hello,
I am using a xml-based subscribe-notify framework called SES (OpenGIS Sensor Event Service). It has an xpath-based filtering capability to appropriately match a subscription with...
Forum: XML August 28th, 2009, 12:11 PM
Replies: 4
Views: 3,943
Posted By tclotworthy
Many thanks to you guys. I simply needed: ...

Many thanks to you guys. I simply needed:

<xs:import namespace="http://www.opengis.net/wfs" schemaLocation="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"/>
<xs:import...
Forum: XML August 28th, 2009, 10:47 AM
Replies: 4
Views: 3,943
Posted By tclotworthy
W3C XML Schema Validation Problem

Hello, if I am getting the validation error in xmlSpy:

'wfs:BaseRequestType' must refer to an existing simple or complex type

for the schema with below snippet (see 2 bolded most-relevent...
Forum: XSLT October 11th, 2007, 08:49 AM
Replies: 2
Views: 1,525
Posted By tclotworthy
Working with array-type elements

I have an array (if you can call it that in XSLT) of elements like:

ownedMember(100)

and I want to do two things:

1) How do I traverse them individually (i.e. in a loop)?

2) How do I get...
Forum: XSLT September 27th, 2007, 11:17 AM
Replies: 3
Views: 1,171
Posted By tclotworthy
hmm.. not completely following. Lets say I have a...

hmm.. not completely following. Lets say I have a variable strgVar ="I\love\to\eat\bacon", how would I use what you said above to get me the string after the last '\'? Thanks!
Forum: XSLT September 27th, 2007, 10:51 AM
Replies: 3
Views: 1,171
Posted By tclotworthy
Finding last instance of a character

Is there any way to find the final instance of a character in a string without recursing from beginning to end? Thanks
Forum: XSLT September 26th, 2007, 03:38 PM
Replies: 4
Views: 879
Posted By tclotworthy
Thanks! That is a new wrinkle to my understanding...

Thanks! That is a new wrinkle to my understanding of xslt. Now things work as I had hoped. Many Thanks!
Forum: XSLT September 26th, 2007, 11:49 AM
Replies: 4
Views: 879
Posted By tclotworthy
what in the template populates the variable?...

what in the template populates the variable? Would it be from value-of element? For instance, what I see are templates like (below), where the value-of streams to the output as the string is parsed....
Forum: XSLT September 26th, 2007, 11:30 AM
Replies: 4
Views: 879
Posted By tclotworthy
String Replace Template w/out Outputting

Is there any way to perform a global substring replace within a template in such a manner that you are capturing the replaced context as part of a new string, variable, etc rather than simply...
Forum: XSLT September 21st, 2007, 10:44 AM
Replies: 16
Views: 1,943
Posted By tclotworthy
Thanks. I was indeed using xslt wrong. I had...

Thanks. I was indeed using xslt wrong. I had always generated html output in the past and this was the first time I simply needed to perform simple transforms (xml-to-xml) and didn't even know the...
Forum: XSLT September 20th, 2007, 01:00 PM
Replies: 16
Views: 1,943
Posted By tclotworthy
Ahh. thank you. this is better, but still not...

Ahh. thank you. this is better, but still not completely solving my problem. In the output, I need to see the "<" and ">" characters, but instead are seeing "&lt;" and "&gt;".

Am I still missing...
Forum: XSLT September 20th, 2007, 11:49 AM
Replies: 16
Views: 1,943
Posted By tclotworthy
joe, by "Use one of the built in entity...

joe, by "Use one of the built in entity references, & l t ; (without the spaces).", I don't know what you mean. Could you just give me a code example? Thank you
Forum: XSLT September 20th, 2007, 11:37 AM
Replies: 16
Views: 1,943
Posted By tclotworthy
In fact, using: <xsl:text...

In fact, using:

<xsl:text disable-output-escaping="yes"><</xsl:text>

I still get wellformedness error.. Any help is appreciated. Thanks
Forum: XSLT September 20th, 2007, 11:27 AM
Replies: 16
Views: 1,943
Posted By tclotworthy
escaping < char

how do I escape < in my xslt? thanks
Forum: XSLT September 20th, 2007, 11:09 AM
Replies: 4
Views: 675
Posted By tclotworthy
thanks for response guys. I have to use XSLT 1.0....

thanks for response guys. I have to use XSLT 1.0. I think I will simply muddle through with current recursion scheme. I have plenty of other things to do while I wait for it to crank through the...
Forum: XSLT September 19th, 2007, 02:20 PM
Replies: 4
Views: 675
Posted By tclotworthy
last instance of char -> w/out using recursion

Is there a way to find the last instance of a character in a string without using recursion? I have a recursive solution, but it is exceptionally slow.. Thanks
Showing results 1 to 25 of 51

 


All times are GMT -4. The time now is 12:20 AM.


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