xsl-list
[Top] [All Lists]

Re: Can someone help me understand why this isn't working?

2005-01-20 07:57:07
Hi Michael;

I lacked some basic knowledge to understand some of yours and David's
earlier advice.

I am getting there now.

Thanks for your help and patience with this.

Luke

----- Original Message ----- 
From: "Michael Kay" <mike(_at_)saxonica(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, January 20, 2005 3:51 AM
Subject: RE: [xsl] Can someone help me understand why this isn't working?



I have a basic example I am trying to get working to convert
;&lt;P&gt; to <P>.


As I tried to explain before, XSLT is about converting trees into trees.

You're starting with three characters, a less-than sign, a P, and a
greater-than sign, and you're trying to produce - what exactly? Half an
element node. It can't be done: producing an element node is an atomic
operation, you can't produce the <P> without also producing the </P> at
the
same time.

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--