Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 14 of 14
Search took 0.02 seconds.
Search: Posts Made By: igraham
Forum: XSLT February 28th, 2008, 05:14 PM
Replies: 7
Views: 1,205
Posted By igraham
Yow, I hadn't thought about the issues of \n...

Yow, I hadn't thought about the issues of \n within the children. But I get the idea. The initial <break/> insertion would be just a bit more complicated because replacing \n\n isn't quite...
Forum: XSLT February 28th, 2008, 03:40 PM
Replies: 7
Views: 1,205
Posted By igraham
Thanks so much, both of you! Michael, I'll...

Thanks so much, both of you!

Michael, I'll take your advice and stick with my current approach on this one for now, but I'd still like to improve my understanding of grouping, especially in the...
Forum: XSLT February 28th, 2008, 02:56 AM
Replies: 7
Views: 1,205
Posted By igraham
Converting Wiki-like text into XML

In an XSLT 2.0 transform I'm trying to convert some wiki-like text, which may embed some matched XML tags, into XML as in the following example:

"

This should be a paragraph that includes...
Forum: XSLT February 28th, 2008, 01:28 AM
Replies: 1
Views: 1,092
Posted By igraham
Regular expression to match &#xff; using saxon

I'm struggling with something that should be trivial: I'm using Saxon 9 and processing text and want to match a character of arbitrary value such as 255 in a regular expression. I just can't figure...
Forum: XSLT September 26th, 2007, 03:37 PM
Replies: 9
Views: 4,765
Posted By igraham
I'm embarrassed. After your suggestion about...

I'm embarrassed. After your suggestion about <factory> I skimmed the ant doc too quickly and entirely missed it, so I assumed you were referring to a feature of <saxon-xslt>. Then I did find out...
Forum: XSLT September 25th, 2007, 07:14 PM
Replies: 9
Views: 4,765
Posted By igraham
I was about to try using that <factory> element,...

I was about to try using that <factory> element, but then realized it doesn't help solve the problem with the ant <taskdef>. The -noclasspath option for the ant command doesn't allow me to run a...
Forum: XSLT September 24th, 2007, 03:54 PM
Replies: 9
Views: 4,765
Posted By igraham
No, I hadn't even got that far(but thanks for...

No, I hadn't even got that far(but thanks for pointing out that they may not be the defaults!). It's the <taskdef> that fails because of the missing SchemaAwareTransformerFactory.
Forum: XSLT September 24th, 2007, 03:28 PM
Replies: 9
Views: 4,765
Posted By igraham
Thanks Micheal. However, I've tried that, but...

Thanks Micheal. However, I've tried that, but I'm using Saxon-B and I get the following error message:

taskdef A class needed by class net.sf.saxon.ant.AntTransform cannot be found:...
Forum: XSLT September 24th, 2007, 01:37 PM
Replies: 9
Views: 4,765
Posted By igraham
Resolving classpath with ant <xslt> task

I'm trying to write an ant script which invokes both XSLT 1.0 and XSLT 2.0, but so far haven't been successful.

In my build environment, the invocation of XSLT 1.0 is deep down in other ant...
Forum: XSLT September 4th, 2007, 12:43 PM
Replies: 3
Views: 739
Posted By igraham
Thanks Sam and Michael! I get it now, at...

Thanks Sam and Michael!

I get it now, at least when I think about it, but I'm sure I'm going to make the same mistake again :).

As you suggested Michael, I happily got it working using...
Forum: XSLT September 2nd, 2007, 04:33 AM
Replies: 3
Views: 739
Posted By igraham
captured groups with replace()

In processing text, I'm trying to convert dates of the form "January 1, 1999" or "January 1999", but I'm having trouble using captured groups. For example, I have tried to convert the dates to the...
Forum: XSLT July 16th, 2007, 01:10 PM
Replies: 4
Views: 1,704
Posted By igraham
Thanks for the <tips> Paul! Ian

Thanks for the <tips> Paul!

Ian
Forum: XSLT July 15th, 2007, 03:27 PM
Replies: 4
Views: 1,704
Posted By igraham
Thanks Michael. I actually did try to construct...

Thanks Michael. I actually did try to construct the value at runtime, but couldn't figure out the syntax to do it. I'll read up on attribute value templates. Thanks also for the advice to use...
Forum: XSLT July 14th, 2007, 07:13 PM
Replies: 4
Views: 1,704
Posted By igraham
Grouping plain text into paragraphs

I'm trying to process plain text to turn it into XML/DITA <p> and <pre> elements. The idea is that consecutive lines of text with indents of exactly n spaces should be grouped into a <p> element,...
Showing results 1 to 14 of 14

 




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