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

Re: how to get string value of element node without ch

Subject: Re: how to get string value of element node without childrenconcatenated
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Sat, 15 Mar 2003 23:25:45 +0000
get xml element value
Craig Kattner wrote:
I'm sure the answer is obvious, but I can't seem to find it.

I have the following XML:
<?xml version="1.0" encoding="UTF-8" ?> <switches>
<finishes>
<finish>
Almond Decorative <hold>no</hold> </finish>

You're a victim of Pernicious Mixed Content (mixing marked text and unmarked text in inappropriate circumstances, which is basically
anything except normal paragraphs of running text). If you have any control over the document type, get it changed to:


 		<finish>
 			<style>Almond Decorative</style>
 			<hold>no</hold>
 		</finish>

or something like. Then you can access the data much more easily.
Using XML for categorical data requires a different approach to
using it for normal text.

///Peter


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.