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

German mailing list

Subject: German mailing list
From: "Huditsch Roman" <Roman.Huditsch@xxxxxxxxxxxxx>
Date: Tue, 16 Nov 2004 13:21:03 +0100
german mailing list
Hi,

Just out of curiousity, does anyone know about a good german speaking mailing
list?

Wbr,
Roman

> -----Urspr|ngliche Nachricht-----
> Von: Michael Kay [mailto:mike@xxxxxxxxxxxx]
> Gesendet: Montag, 15. November 2004 14:04
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: RE:  Translating "("
>
> >
> > I need translate special characters like "(", ")" etc in <ln:term>.
> >
>
> You presumably want to generate element nodes in the result tree, rather
> than constructing angle brackets within a text node. To construct an
> element
> node, you need to use either a literal result element or xsl:element - you
> can't do it by generating the XML markup directly as a string.
>
> This use case (assuming parens are not nested) becomes very easy in XSLT
> 2.0
> with xsl:analyze-string: something like
>
> <xsl:analyze-string select="." regex="\(.*?\)">
>   <xsl:matching-substring>
>     <ln:term>
>       <xsl:value-of select="translate(., '()', '')"/>
>     </ln:term>
>   </xsl:matching-substring>
>   <xsl:non-matching-substring>
>     <xsl:value-of select="."/>
>   </xsl:non-matching-substring>
> </xsl:analyze-string>
>
> With 1.0, assuming you can have multiple instances of (..) within a text
> node, but not nested instances, it needs a recursive template along the
> following lines:
>
> output substring-before "("
> <ln:term>
>   output substring-before ")" substring-after "("
> </ln:term>
> recursive call to process substring-after ")"
>
> Michael Kay



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

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.