[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Xpath errors in XML to XML transformation

Subject: Xpath errors in XML to XML transformation
From: "Catherine Pouncett" <C.Pouncett@xxxxxxxxxxxxxxx>
Date: Mon, 22 Jun 2009 10:08:38 +0100
 Xpath errors in XML to XML transformation
	Hi,

	This is my first post on this forum, I'm just beginning to learn XSL. Working
with simple examples is going great. I have now come across a problem and do
not know how to sort it out and I wondered if someone could point me in the
right direction?

	I have managed to transform XML to XML etc using simple examples. Then I took
some of my work files, things weren't working, when checking my Xpath, the
results were coming up false etc. We have lots of info in the top tag
'chapter', if I remove everything apart from the namespace ad declaration the
file transforms correctly. So, does this have something to do with the Schema?
or, docbook?
	Any help on this would be much appreciated as I don't know where to start
looking.


	Xpath works perfectly with the below root tag in my XML files:-

	<chapter xmlns:ad="http://myhome/technical_topic">



	Xpath does not work with the below root tag in my XML files:-

	<chapter  xmlns="http://docbook.org/docbook-ng"
xmlns:ad="http://myhome/technical_topic"
	    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	    xsi:schemaLocation="http://docbook.org/docbook-ng
//myserver/myfolder/XmlSchemaStylesheet/docbook.xsd"
	    version="IPA-ext-Caffs-0.5" xml:lang="en">

	Hope this makes sense.

	Kind Regards,
	Catherine

Catherine Pouncett
tel: +44 1628 688182
c.pouncett@xxxxxxxxxxxxxxx


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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.