xsl-list
[Top] [All Lists]

Re: [xsl] [XSL] Two "Philisophical" questions about the language

2009-01-18 20:10:41
At 2009-01-18 19:09 +0530, Mukul Gandhi wrote:
Hi Ken,

On Sat, Jan 17, 2009 at 5:04 PM, G. Ken Holman
<gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
> <?xml version="1.0">
> <?xml-stylesheet type="text/xsl" href="over-there.xsl">
> <?owner jsmith>
> <root>
> </root>
> <!--copyright notice here-->
>
> The root node in the above document has 4 child nodes.

It seems to me, that you are saying:

<?xml version="1.0"> is a node in XDM.

but this construct (the XML prolog)

To set the archive record straight, the correct name for that construct is the "XML Declaration". The prologue contains the XML declaration but also contains other constructs:

  http://www.w3.org/TR/2008/REC-xml-20081126/#sec-prolog-dtd

The constructs in production "[27] Misc" are part of the data model:

  http://www.w3.org/TR/2008/REC-xml-20081126/#NT-Misc

and that is what I was referring to in my post.

is not represented in any form in
the XDM model (so it's discarded while building the XPath tree).

Please correct me if I am wrong.

I hope this helps.

. . . . . . . . . . . Ken

--
Upcoming XSLT/XSL-FO, UBL and code list hands-on training classes:
:  Sydney, AU 2009-01/02; Brussels, BE 2009-03; Prague, CZ 2009-03
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
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>
--~--