[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xmlns in the root element prevents transformation
I think I can answer myself. The stylesheet needs to have the version hardcoded in the root element, at least from what I can tell, like xpath-default-namespace="urn:oasis:names:tc:xliff:document:1.2", and it must be the same version as the input XML files. Cheers, Manuel Manuel Souto Pico <terminolator@xxxxxxxxx> escreveu no dia quinta, 23/07/2020 C (s) 21:11: > Dear all, > > This transformation gives me an empty output file: > https://xsltfiddle.liberty-development.net/gVhEaiQ > > However, if I remove the xmlns="urn:oasis:names:tc:xliff:document:1.2 bit > from the XLIFF root node, then it works. > > Could somebody help me understand why that happens? > > Thanks in advance. > > Cheers, Manuel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|