Subject: Re: [xsl] XSLT2 - Schema root element to DTD root element From: Vyacheslav Sedov <vyacheslav.sedov@xxxxxxxxx> Date: Tue, 19 Jan 2010 19:42:34 +0300 |
<hov:stylesheet .... xpath-default-namespace="http://xml.smg-uk.com/schema/cases/report"> 2010/1/19 Selvaganesh <selvaganesh1985@xxxxxxxxx>: > Dear Team, > > I have developing XLST for Schema XML to DTD XML, i my xslt process only > without namespaces. when i give with namespaces XML the XSLT process > (Saxon9) > remove all elements. > > This Input XML: (Namespaces used root element only) > > <?xml version="1.0" encoding="UTF-8"?> > <?oxygen NVDLSchema="../../schema/case-report-xt.nvdl"?> > <?oxygen SCHSchema="../../schema/case-report-xt.xsd"?> > <report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xlink="http://www.w3.org/TR/xlink/" > xmlns:math="http://www.w3.org/1998/Math/MathML" > xmlns="http://xml.smg-uk.com/schema/cases/report" > xmlns:lcr="http://xml.smg-uk.com/schema/lcr" > xsi:schemaLocation="http://xml.smg-uk.com/schema/analytical > case-report-xt.xsd" appeal="false"> > <maintitle> > ... > ... > ... > </maintitle> > </report> > > > This is XSL: > > <?xml version="1.0"?> > <hov:stylesheet xmlns:hov="http://www.w3.org/1999/XSL/Transform" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:mf="http://example.com/2009/mf" > xmlns:fn="http://www.w3.org/2005/02/xpath-functions" > exclude-result-prefixes="xs mf fn" version="2.0"> > <hov:import href="entitynamesmap.xsl"/> > > <hov:output method="xml" omit-xml-declaration="yes" indent="no" > use-character-maps="w3c-entity-names"/> > > <hov:template match="report"><hov:element > name="report-doc"><hov:apply-templates/></hov:element></hov:template> > <hov:template match="maintitle"><hov:element > name="main-title"><hov:apply-templates/></hov:element></hov:template> > ... > ... > ... > </hov:stylesheet> > > Kindly guide me how will be proceed further, i hope from you. > > Thanks, > Selva
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT2 - Schema root element t, Selvaganesh | Thread | Re: [xsl] XSLT2 - Schema root eleme, David Carlisle |
[xsl] XSLT2 - Schema root element t, Selvaganesh | Date | Re: [xsl] XSLT2 - Schema root eleme, David Carlisle |
Month |