[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: intro, and quick newbie-ish question!

Subject: Re: intro, and quick newbie-ish question!
From: Miloslav Nic <nicmila@xxxxxxxxx>
Date: Fri, 18 Aug 2000 07:10:20 +0200
python strip puncuation
Shane Knapp wrote:
> 
> hey all!
> 
> i've been lurking on here for a few days, reading and learning.  we're got
> quite the resource here.  lots of good, knowledgable people!
One character substitutions are easy with translate() function:
http://zvon.org/xxl/XSLTreference/Output/index.html
http://www.zvon.org/cgi-bin/xlab/bin/stringFunctions.py

Word substitutions are much more involved. My solution to this problem
was Perl and nowadays
it is Python.

> 
> and now that've greased the wheels a little bit...  ;)
> 
> is it possible to format data within XML tags during the XMLT processing?
> for instance, to strip out puncuation marks, substitute words, etc...
> 
> for example, change this:
> 
> <problem>shane's car is broken & he can't get home.</problem>
> 
> to:
> <problem>shanes car is broken and he cant get home</problem>
> 
> i think i can use DOM to help...  but seeing that i've been
> learning/reading/doing this stuff since sunday afternoon, i'm still in
> newbie-mode.  :)
> 
> thanks in advance!
> 
> shane
> --
> Shane Knapp
> Wireless Platform Engineer
> LiveMind, Inc
> 415.861.0394
> www.livemind.com
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

-- 
******************************************
<firstName> Miloslav </firstName>    
<surname>   Nic      </surname>     

<mail>    nicmila@xxxxxxxxx    </mail>   
<support> http://www.zvon.org  </support>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.