Subject: RE: [xsl] Xpath errors in XML to XML transformation From: "Catherine Pouncett" <C.Pouncett@xxxxxxxxxxxxxxx> Date: Mon, 22 Jun 2009 10:51:16 +0100 |
Thank you everyone for your replies, I shall look at and apply your suggestions and try to work it out. Thanks again, Catherine Catherine Pouncett tel: +44 1628 688182 c.pouncett@xxxxxxxxxxxxxxx -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: 22 June 2009 10:15 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Xpath errors in XML to XML transformation > <chapter xmlns:ad="http://myhome/technical_topic"> That is chapter in no-namespace so would be accessed with an xpath of /chapter > <chapter xmlns="http://docbook.org/docbook-ng" xmlns:ad="http://myhome/technical_topic" That is chapter in teh docbook namespace so would be accessed by an xpath of /d:chapter where d is defined on (say) xsl:stylesheet to be xmlns:d="http://docbook.org/docbook-ng" Note that docbok up to version 4 was in no-namepsace, docbook version 5 is in a namespace but I believe the correct namespace is http://docbook.org/ns/docbook I think http://docbook.org/docbook-ng was a temprary namespace used while they were working on the first drafts of a relax ng defined version of docbook. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________ IMPORTANT NOTICE: This email and any attachments are confidential and are protected by copyright and/or database rights and are intended for the addressee only. If you are not the named recipient, you must not use, disclose, reproduce, copy or distribute the contents of this communication. If you have received this in error, please contact the sender and then delete this email from your system. The integrity of email across the Internet cannot be guaranteed. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. Although Autodata Limited has taken precautions to ensure no viruses are present in this email or any attachments, the company cannot accept any responsibility for any loss or damage arising from the use of this email or attachments. Autodata Limited, Priors Way, Maidenhead Berkshire, SL6 2HP, England, UK. Registered as a limited company in England, UK. Registration number 1062717. VAT number GB 208 4782 54.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Xpath errors in XML to XM, Michael Kay | Thread | [xsl] Mapping node paths from 1 fil, Jeremy Disten |
RE: [xsl] Xpath errors in XML to XM, Michael Kay | Date | Re: [xsl] multiple range expansion, G. Ken Holman |
Month |