Subject: Re: [xsl] Using attributes and elements and text From: António Mota <amsmota@xxxxxxxxx> Date: Fri, 25 Feb 2005 15:23:16 +0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Using attributes and elem, Michael Kay | Thread | Re: [xsl] Using attributes and elem, Dave |
RE: [xsl] looping within a key's no, Jim Neff | Date | Re: [xsl] grouping nodes inside a n, Andrew Male |
Month |