Project

Profile

Help

Bug #2663 » sampleBooksToCatalog.xsl

Ivan Pedruzzi, 2016-03-04 22:47

 
<?xml version="1.0" ?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes" />
<xsl:template match="/">
<Catalog>
<Book>
<xsl:for-each select="books/book/title">
<Title><xsl:value-of select="."/></Title>
</xsl:for-each>
</Book>
<xsl:copy-of select="doc('file:///c:/temp/examples/simpleMappings/books0.xml')"/>
</Catalog>
</xsl:template>
</xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2009. Progress Software Corporation. All rights reserved.

<metaInformation>
<scenarios>
<scenario default="yes" name="books.xml" userelativepaths="yes" externalpreview="no" url="books.xml" htmlbaseurl="" outputurl="output.xml" processortype="saxon8" useresolver="no" profilemode="0" profiledepth="" profilelength="" urlprofilexml=""
commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
<advancedProp name="bSchemaAware" value="true"/>
<advancedProp name="xsltVersion" value="2.0"/>
<advancedProp name="schemaCache" value="||"/>
<advancedProp name="xsdVersion" value="1.0"/>
<advancedProp name="iWhitespace" value="0"/>
<advancedProp name="bWarnings" value="true"/>
<advancedProp name="bXml11" value="false"/>
<advancedProp name="bUseDTD" value="false"/>
<advancedProp name="bXsltOneIsOkay" value="true"/>
<advancedProp name="bTinyTree" value="true"/>
<advancedProp name="bGenerateByteCode" value="true"/>
<advancedProp name="bExtensions" value="true"/>
<advancedProp name="iValidation" value="0"/>
<advancedProp name="iErrorHandling" value="0"/>
<advancedProp name="sInitialTemplate" value=""/>
<advancedProp name="sInitialMode" value=""/>
</scenario>
</scenarios>
<MapperMetaTag>
<MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="catalog.xml" destSchemaRoot="Catalog" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no">
<SourceSchema srcSchemaPath="books.xml" srcSchemaRoot="books" AssociatedInstance="" loaderFunction="document" loaderFunctionUsesURI="no"/>
</MapperInfo>
<MapperBlockPosition></MapperBlockPosition>
<TemplateContext></TemplateContext>
<MapperFilter side="source"></MapperFilter>
</MapperMetaTag>
</metaInformation>
-->
(1-1/3)