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

RE: missing xsl: before schemaLocation in the result x

Subject: RE: missing xsl: before schemaLocation in the result xml file.
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 12 Oct 2006 23:22:29 +0100
xsl for schemalocation
There is either a bug in your XSLT processor, or there's something wrong
with the part of the code that you haven't shown us.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Lin, Jessica [mailto:jlin@xxxxxxxxxxx] 
> Sent: 12 October 2006 20:18
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  missing xsl: before schemaLocation in the 
> result xml file.
> 
> 
> I am converting xml to xml by using xslt. For some reason, my 
> result missed "xsl:" before schemaLocation. Could you please 
> help me find what's wrong?
> 
> 
> 
> My xml file starts with
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint base_time="1998-11-05T12:00:00" duration_seconds="12"
> tail_seconds="0.25" version="0.10"
> xsi:schemaLocation="http://directv.com/bitstreams/blueprint
> C:/TRex-Dev/Trunk/Projects/MODEL/bde.model.xml/blueprint/xsd/B
> lueprint.x
> sd" xmlns="http://directv.com/bitstreams/blueprint"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:abe="http://directv.com/bitstreams/abe"
> xmlns:bp="http://directv.com/bitstreams/blueprint"
> xmlns:rex="http://directv.com/bitstreams/rexatron">
> 
> 
> My xslt file starts with
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="2.0 "
> xmlns="http://directv.com/bitstreams/blueprint"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xdt="http://www.w3.org/2005/xpath-datatypes"
> exclude-result-prefixes="xs xdt">
> 
> And I use imported file copy.xslt during procession.
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> 
> <xsl:output method="xml"/>
> 
> <xsl:template match="/ | node() | @* | comment() | 
> processing-instruction()">
>   <xsl:copy>
>     <xsl:apply-templates select="@* | node()"/>
>   </xsl:copy>
> </xsl:template>
> 
> </xsl:stylesheet>
> 
> 
> 
> My result xml file:
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns:bp="http://directv.com/bitstreams/blueprint"
>            xmlns="http://directv.com/bitstreams/blueprint"
>            xmlns:rex="http://directv.com/bitstreams/rexatron"
>            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>            xmlns:abe="http://directv.com/bitstreams/abe"
>            base_time="1998-11-05T12:00:00"
>            duration_seconds="12"
>            tail_seconds="0.25"
>            version="0.10"
>            schemaLocation="http://directv.com/bitstreams/blueprint
> C:/TRex-Dev/Trunk/Projects/MODEL/bde.model.xml/blueprint/xsd/B
> lueprint.x
> sd">
> 
> 
> Thanks,
> Jessica

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.