|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








