Subject: [xsl] XSL Remove part of a text inside TAG From: buddhi <buddhi@xxxxxxxxxxxxxxxxxxx> Date: Fri, 07 Mar 2008 10:46:48 +0530 |
<xsl:template name="while"> <xsl:param name="foo"/> <xsl:choose> <xsl:when test="contains($foo,'\')"> <xsl:variable name="newfoo" select="substring-after($foo,'\')"/> <xsl:call-template name="while"> <xsl:with-param name="foo" select="$newfoo"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$foo"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>
<?xml version="1.0"?> <FileSerializeWrapper xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Unit>Inches</Unit> <PanPoint> <X>0</X> <Y>0</Y> </PanPoint> <ZoomFactor>0</ZoomFactor> <FlowData> <VisualObject xsi:type="CProjectEx"> <maxQSwitch>500</maxQSwitch> <Address>Laser Job</Address> </VisualObject> <TrueSideChildren> <FlowData> <VisualObject xsi:type="CLayerEx"> <maxQSwitch>500</maxQSwitch> <Address>Laser Job.Layer</Address> <Name>Layer</Name> <Override>true</Override> </VisualObject> <FlowType>Layer</FlowType> <TrueSideChildren> <FlowData> <VisualObject xsi:type="CBarCode"> <maxQSwitch>133</maxQSwitch> <Address>Laser Job.Layer.Barcode1</Address> <Name>Barcode1</Name> <Width>2.8144999999999953</Width> <DataString>CODE 39 TEXT</DataString> <EncodeData> <dBCHeight>0.5</dBCHeight> <dBCWidth>2.8144999999999953</dBCWidth> <szQRFmtAppIndicator /> </EncodeData> <EnableHRText>true</EnableHRText> <FontFace>D:\Work\Phase III\Executables\Fonts\TIMESNRO.FNT</FontFace> <IsBold>false</IsBold> <IsItalic>false</IsItalic> <FontHeight>0.08</FontHeight> <FontGap>0.02</FontGap> <HRTextAtTop>false</HRTextAtTop> </VisualObject> <ShapeName /> </FlowData> </TrueSideChildren> <FalseSideChildren /> <IsExpanded>true</IsExpanded> <EventDataCode /> <ShapeName /> </FlowData> </TrueSideChildren> <FalseSideChildren /> <EventDataCode /> <ShapeName /> </FlowData> </FileSerializeWrapper>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSL Remove part of a text, Michael Kay | Thread | [xsl] XSL omit part of a text insid, buddhi |
RE: [xsl] XSL Remove part of a text, Buddhi D. Mahindarat | Date | RE: [xsl] XSL Remove part of a text, Michael Kay |
Month |