Changeset 197
- Timestamp:
- 01/24/07 13:20:10
- Files:
-
- trunk/src/swft/swft.h (modified) (1 diff)
- trunk/src/xslt/simple-import.xslt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/swft/swft.h
r155 r197 39 39 40 40 int doMap( const char *oldID ) { 41 int id = atoi( oldID ); 42 if( id == 65535 ) return id; 43 41 44 std::map<std::string,int>& m = *(maps.top()); 42 45 int r = m[oldID]; trunk/src/xslt/simple-import.xslt
r195 r197 387 387 <xsl:attribute name="{name()}"><xsl:value-of select="swft:map-id(.)"/></xsl:attribute> 388 388 </xsl:template> 389 <xsl:template match="@*|text()" mode="idmap" priority="-1"> 389 <xsl:template match="text()" mode="idmap" priority="-1"> 390 <xsl:copy select="."/> 391 </xsl:template> 392 <xsl:template match="@*" mode="idmap" priority="-1"> 390 393 <xsl:copy select="."/> 391 394 </xsl:template> … … 393 396 <xsl:copy select="."> 394 397 <xsl:apply-templates select="@*" mode="idmap"/> 395 <xsl:apply-templates select="text()" mode="idmap"/>396 398 <xsl:apply-templates mode="idmap"/> 397 399 </xsl:copy>
