[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Validating UBL examples with xmllint
On Thu, May 20, 2004 at 07:04:03PM +0300, G. Ken Holman wrote:
>
> XSLT and XPath questions would be better posted to the following list:
>
> http://www.mulberrytech.com/xsl/xsl-list
>
I know this is not the most correct place, but please answer me one
more, since it is a practical example.
I had my ubl Orders.xml beginning with <Order>.
In order to be precise, I changed the XML so that suns msv validates the
file. I know have:
<Order xmlns="urn:oasis:names:tc:ubl:Order:1:0"
xmlns:cac="urn:oasis:names:tc:ubl:CommonAggregateComponents:1:0"
xmlns:cbc="urn:oasis:names:tc:ubl:CommonBasicComponents:1:0" xmlns:cur="urn:oasis:names:tc:ubl:codelist:CurrencyCode:1:0" xmlns:res="urn:oasis:names:tc:ubl:codelist:AcknowledgementResponseCode:1:0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:ubl:Order:1:0 ../../xsd/maindoc/UBL-Order-1.0.xsd">
<BuyersID>EW112429145</BuyersID>
<cbc:IssueDate>2004-01-17</cbc:IssueDate>
....
However, my xls stylesheets stoped working.
I made a few surfing and changed:
<xsl:template match="Order">
to
<xsl:template match="{urn:oasis:names:tc:ubl:Order:1:0}Order">
But still gives errors.
How can I handle this?
Thanks
--
Pedro Miguel G. Alves pedro.alves@compta.pt
COMPTA - Parceria e Tecnologia www.compta.pt
Tel: +351 21 413 46 00 Av. Jos� Gomes Ferreira
Fax: +351 21 413 46 09 n� 13 1495-139 ALG�S
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]