This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: node() as pattern
- From: DPawson at rnib dot org dot uk
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 12 Jun 2002 15:37:56 +0100
- Subject: RE: [xsl] node() as pattern
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Assuming that you're dealing with a well-formed XML document,
> containing only elements (no processing instructions, comments or
> text), it won't match anything since the root node doesn't have a
> second child.
Thanks Jeni (clarity personified again :-).
The above is the clue.
The actual file I'm dealing with is of the form
<!DOCTYPE report PUBLIC "-//RNIB//DTD report//EN" "/sgml/mine/reportsp.dtd">
<report>
<!-- Time-stamp:<2001-04-11 14:46:48 DPawson> -->
<ver>1.0</ver>
<front>
<version>1.0</version>
(I note your comment about pi's comments !)
Hence that's the reason its not working.
I'm playing with the diffxml, http://diffxml.sourceforge.net/
trying to get my head round indirect stylesheets, great fun
if you need to fry your circuits,
All the resultant paths are of this form, and I'm beginning to suspect
that I'm missing a trick, since all the differences are rooted in /node()[2]
which as you note, is not on for a well formed document.
More careful reading I think.
Tks Jeni,
regards DaveP
-
NOTICE: The information contained in this email and any attachments is
confidential and may be legally privileged. If you are not the
intended recipient you are hereby notified that you must not use,
disclose, distribute, copy, print or rely on this email's content. If
you are not the intended recipient, please notify the sender
immediately and then delete the email and any attachments from your
system.
RNIB has made strenuous efforts to ensure that emails and any
attachments generated by its staff are free from viruses. However, it
cannot accept any responsibility for any viruses which are
transmitted. We therefore recommend you scan all attachments.
Please note that the statements and views expressed in this email
and any attachments are those of the author and do not necessarily
represent those of RNIB.
RNIB Registered Charity Number: 226227
Website: http://www.rnib.org.uk
14th June 2002 is RNIB Look Loud Day - visit http://www.lookloud.org.uk to
find out all about it.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list