Subject: [xsl] Another XSL question From: "Manoj Jha" <manoj_k_jha@xxxxxxxxxxx> Date: Wed, 24 Apr 2002 16:12:11 +0000 |
<?xml version="1.0"?> <DocumentRequest> <Director> <DocumentName>UnderwritingAnalysisPage1</DocumentName> <DeliveryMedium>browser</DeliveryMedium> <ApplicationId>15</ApplicationId> <PostPay>no</PostPay> </Director> <DocumentDetails> <BorrowerName>SOME NAME</BorrowerName> <LoanStatus>DECLINED</LoanStatus> <ConditionText1>Some condition text </ConditionText1> <ConditionText2>Some condition text </ConditionText2> ... <ConditionText45>Some condition text on line 45</ConditionText45> <ConditionText46>Some condition text on line 46</ConditionText46> <ConditionText47>Some condition text on line 47</ConditionText47> </DocumentDetails> </DocumentRequest>
****Begin Stylesheet******* <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes"/>
<xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates/> </xsl:copy> </xsl:template>
<xsl:template match="/DocumentRequest/DocumentDetails/ConditionText45"> <xsl:copy-of select="/DocumentRequest/DocumentDetails/BorrowerName"/> <xsl:copy-of select="/DocumentRequest/DocumentDetails/LoanStatus"/> <ConditionText45><xsl:value-of select="."/></ConditionText45> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] standard method of docume, DPawson | Thread | Re: [xsl] Another XSL question, Jeff Kenton |
[xsl] standard method of documentin, Don Smith | Date | Re: [xsl] standard method of docume, Daniel Veillard |
Month |