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

Re: Using attributes and elements and text

Subject: Re: Using attributes and elements and text
From: António Mota <amsmota@xxxxxxxxx>
Date: Fri, 25 Feb 2005 15:23:16 +0000
Re:  Using attributes and elements and text
Ah, at last something easy to understand and apply. I'll follow it. Thanks.

For the attribute/element dilema, i think i follow the example from
the "head/weight" - "i have both a head and a weight, you can cut my
head but not my weight" (actually if you cut my head you'll be cutting
my weight too...), so head will be a element and weight a attribute.
More, my head as many elements (eyes, mouth, ears...) and my weight
no.

I hope i've understand the metaphor correctly...


On Thu, 24 Feb 2005 22:36:50 -0000, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> >
> > What are the XPath/XSL diferences in here?
> 
> I think that's usually clear cut. Use mixed content (elements as siblings of
> text nodes) if and only if the text is continuous and the elements are being
> used to mark up properties of parts of the text.
> 
> Michael Kay
> http://www.saxonica.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.