|
|
|
Не работает применение темплейта
|
|||
|---|---|---|---|
|
#18+
1) Почему <xsl:for-each select='Sheet'> <Worksheet> <xsl:attribute name="ss:Name"><xsl:value-of select='Name'></xsl:value-of></xsl:attribute> <xsl:apply-templates select="XSheets"></xsl:apply-templates> </Worksheet> </xsl:for-each> </Workbook> </xsl:template> <xsl:template match="XSheets">434 </xsl:template> Не работает? Зато <xsl:for-each select='Sheet'> <Worksheet> <xsl:attribute name="ss:Name"><xsl:value-of select='Name'></xsl:value-of></xsl:attribute> 434 </Worksheet> </xsl:for-each> </Workbook> </xsl:template> <xsl:template match="XSheets">434 </xsl:template> превосходно работает? 2) Как в XSLT правильно выбрать значение атрибута родительского элемента? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.03.2006, 22:28 |
|
||
|
|

start [/forum/topic.php?fid=14&msg=33630935&tid=1334837]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
1578ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
22ms |
get tp. blocked users: |
1ms |
| others: | 210ms |
| total: | 1838ms |

| 0 / 0 |
