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

Re: substrings with entities or not.

Subject: Re: substrings with entities or not.
From: "Raj Avula" <raj_avula@xxxxxxxxxxx>
Date: Mon, 19 Mar 2001 11:33:26 -0800
pravin avula
----- Original Message ----- 
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, March 05, 2001 11:11 AM
Subject: Re:  substrings with entities or not.


> By the time the XSLT processor sees your data, the parser has resolved
> the entities.
> 
> Michael
> ------------------------------------------
> Michael Beddow
> http://www.mbeddow.net/
> 
> ----- Original Message -----
> From: "Adam Van Den Hoven" <Adam.Hoven@xxxxxxxxxxxx>
> To: "XSL Mailing List (E-mail)" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Monday, March 05, 2001 6:15 PM
> Subject:  substrings with entities or not.
> 
> 
> > So given the following XML
> > <someXML>
> > <something>Adam said, &quot;This is a lot of work!"</something>
> > <something>Adam also said, "This is a lot of work!&quot;</something>
> > </someXML>
> >
> > I want to get the strings <<Adam said, >> and <<Adam also said, >>
> >
> > can I use
> >
> > <xsl:value-of select="substring-before(something, '&quot;')" />
> >
> > and exect everything to work out OK? My problem is that I can't
> really
> > guarantee that I'm going to have either the character or the entity
> in my
> > source.
> >
> >
> > > Adam van den Hoven
> > > Internet Application Developer
> > > Blue Zone
> > > tel. 604.685.4310
> > > fax. 604.685.4391
> > > Blue Zone makes you interactive.(tm) http://www.bluezone.net/
> > >
> >
> >  XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
> >
> >
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 

 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.